[passepartout] added filter files
- From: Sven Herzberg <herzi src gnome org>
- To: svn-commits-list gnome org
- Subject: [passepartout] added filter files
- Date: Sat, 2 May 2009 09:32:33 -0400 (EDT)
commit e12d25a91f698c1c3faa1f6565a42a28581c7704
Author: Sven Herzberg <herzi lanedo com>
Date: Fri May 1 20:12:01 2009 +0200
added filter files
* src/pptout/Makefile.am,
* src/pptout/filter.cc,
* src/pptout/filter.h: so simplify the code, we're going to need a class
merging Gtk::FileFilter and Gtk::RecentFilter
---
src/pptout/Makefile.am | 2 ++
src/pptout/filter.cc | 27 +++++++++++++++++++++++++++
src/pptout/filter.h | 30 ++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/src/pptout/Makefile.am b/src/pptout/Makefile.am
index d56cc09..1140328 100644
--- a/src/pptout/Makefile.am
+++ b/src/pptout/Makefile.am
@@ -8,6 +8,7 @@ dist_noinst_HEADERS=\
aboutdialog.h \
authors.h \
config.h \
+ filter.h \
i18n.h \
icons.h \
preferencesdialog.h \
@@ -25,6 +26,7 @@ BUILT_SOURCES=\
$(NULL)
passepartout_SOURCES=\
+ filter.cc \
i18n.cc \
icons.c \
inspiration.cc streamdialog.cc pagesel.cc \
diff --git a/src/pptout/filter.cc b/src/pptout/filter.cc
new file mode 100644
index 0000000..76ccef1
--- /dev/null
+++ b/src/pptout/filter.cc
@@ -0,0 +1,27 @@
+/* This file is part of passepartout
+ *
+ * AUTHORS
+ * Sven Herzberg
+ *
+ * Copyright (C) 2009 Sven Herzberg
+ *
+ * This work is provided "as is"; redistribution and modification
+ * in whole or in part, in any medium, physical or electronic is
+ * permitted without restriction.
+ *
+ * This work is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * In no event shall the authors or contributors be liable for any
+ * direct, indirect, incidental, special, exemplary, or consequential
+ * damages (including, but not limited to, procurement of substitute
+ * goods or services; loss of use, data, or profits; or business
+ * interruption) however caused and on any theory of liability, whether
+ * in contract, strict liability, or tort (including negligence or
+ * otherwise) arising in any way out of the use of this software, even
+ * if advised of the possibility of such damage.
+ */
+
+#include "filter.h"
+
diff --git a/src/pptout/filter.h b/src/pptout/filter.h
new file mode 100644
index 0000000..4ab9033
--- /dev/null
+++ b/src/pptout/filter.h
@@ -0,0 +1,30 @@
+/* This file is part of passepartout
+ *
+ * AUTHORS
+ * Sven Herzberg
+ *
+ * Copyright (C) 2009 Sven Herzberg
+ *
+ * This work is provided "as is"; redistribution and modification
+ * in whole or in part, in any medium, physical or electronic is
+ * permitted without restriction.
+ *
+ * This work is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * In no event shall the authors or contributors be liable for any
+ * direct, indirect, incidental, special, exemplary, or consequential
+ * damages (including, but not limited to, procurement of substitute
+ * goods or services; loss of use, data, or profits; or business
+ * interruption) however caused and on any theory of liability, whether
+ * in contract, strict liability, or tort (including negligence or
+ * otherwise) arising in any way out of the use of this software, even
+ * if advised of the possibility of such damage.
+ */
+
+#ifndef FILTER_H
+#define FILTER_H
+
+
+#endif /* !FILTER_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]