diff options
Diffstat (limited to 'languages/cpp/app_templates/gnome2mmapp')
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/Makefile.am | 10 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc) | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate | 20 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/main_window.cc) | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window.h (renamed from languages/cpp/app_templates/gnome2mmapp/main_window.hh) | 8 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc) | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window_glade.h (renamed from languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh) | 6 | ||||
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/src-Makefile.am | 10 |
8 files changed, 30 insertions, 34 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/Makefile.am b/languages/cpp/app_templates/gnome2mmapp/Makefile.am index f86ae76c..bca35481 100644 --- a/languages/cpp/app_templates/gnome2mmapp/Makefile.am +++ b/languages/cpp/app_templates/gnome2mmapp/Makefile.am @@ -1,7 +1,7 @@ -dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cc \ - main_window_glade.hh Makefile.am app-Makefile.am \ - configure.in gnome2mm.gladep main_window.hh \ - app.kdevelop gnome2mm.cc gnome2mmapp main_window_glade.cc\ +dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cpp \ + main_window_glade.h Makefile.am app-Makefile.am \ + configure.in gnome2mm.gladep main_window.h \ + app.kdevelop gnome2mm.cpp gnome2mmapp main_window_glade.cpp\ src-Makefile.am config.h gnome2mmapp.png templateName = gnome2mmapp @@ -18,4 +18,4 @@ $(templateName).tar.gz: ${dataFiles} archivedir = ${appwizarddatadir} archive_DATA = $(templateName).tar.gz ${templateName}.png -CLEANFILES = *.tar.gz
\ No newline at end of file +CLEANFILES = *.tar.gz diff --git a/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc b/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp index 8a33b9ff..be1ab196 100644 --- a/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc +++ b/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp @@ -4,7 +4,7 @@ #include <gnome--/main.h> #include <libgnome/gnome-i18n.h> -#include "main_window.hh" +#include "main_window.h" int main(int argc, char **argv) { diff --git a/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate b/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate index 3b13385f..21dbd814 100644 --- a/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate +++ b/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate @@ -75,28 +75,28 @@ Dest=%{dest}/src/Makefile.am [FILE10] Type=install -Source=%{src}/gnome2mm.cc -Dest=%{dest}/src/%{APPNAMELC}.cc +Source=%{src}/gnome2mm.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp [FILE11] Type=install -Source=%{src}/main_window.hh -Dest=%{dest}/src/main_window.hh +Source=%{src}/main_window.h +Dest=%{dest}/src/main_window.h [FILE12] Type=install -Source=%{src}/main_window.cc -Dest=%{dest}/src/main_window.cc +Source=%{src}/main_window.cpp +Dest=%{dest}/src/main_window.cpp [FILE13] Type=install -Source=%{src}/main_window_glade.hh -Dest=%{dest}/src/main_window_glade.hh +Source=%{src}/main_window_glade.h +Dest=%{dest}/src/main_window_glade.h [FILE14] Type=install -Source=%{src}/main_window_glade.cc -Dest=%{dest}/src/main_window_glade.cc +Source=%{src}/main_window_glade.cpp +Dest=%{dest}/src/main_window_glade.cpp [MSG] Type=message diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.cc b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp index 4c73911b..152a660c 100644 --- a/languages/cpp/app_templates/gnome2mmapp/main_window.cc +++ b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp @@ -1,11 +1,9 @@ %{CC_TEMPLATE} -// newer (non customized) versions of this file go to main_window.cc_new - // This file is for your program, I won't touch it again! #include "config.h" -#include "main_window.hh" +#include "main_window.h" #include <gtk--/main.h> diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.hh b/languages/cpp/app_templates/gnome2mmapp/main_window.h index ae93336b..80ac8c70 100644 --- a/languages/cpp/app_templates/gnome2mmapp/main_window.hh +++ b/languages/cpp/app_templates/gnome2mmapp/main_window.h @@ -1,16 +1,14 @@ %{HH_TEMPLATE} -// newer (non customized) versions of this file go to main_window.hh_new - // you might replace // class foo : public foo_glade { ... }; // by // typedef foo_glade foo; // if you didn't make any modifications to the widget -#ifndef _MAIN_WINDOW_HH -# include "main_window_glade.hh" -# define _MAIN_WINDOW_HH +#ifndef _MAIN_WINDOW_H +# include "main_window_glade.h" +# define _MAIN_WINDOW_H class main_window : public main_window_glade { protected: diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp index bea6c857..577d3576 100644 --- a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc +++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp @@ -4,11 +4,11 @@ // glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade // for gtk 2.2.4 and gtkmm 1.2.10 // -// Please modify the corresponding derived classes in ./src/main_window.cc +// Please modify the corresponding derived classes in ./src/main_window.cpp #include "config.h" #include <libgnome/libgnome.h> -#include "main_window_glade.hh" +#include "main_window_glade.h" #include <gdk/gdkkeysyms.h> #include <gtk--/accelgroup.h> diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h index 97a9302f..1793dbdc 100644 --- a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh +++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h @@ -4,10 +4,10 @@ // glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade // for gtk 2.2.4 and gtkmm 1.2.10 // -// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc +// Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp -#ifndef _MAIN_WINDOW_GLADE_HH -# define _MAIN_WINDOW_GLADE_HH +#ifndef _MAIN_WINDOW_GLADE_H +# define _MAIN_WINDOW_GLADE_H #if !defined(GLADEMM_DATA) diff --git a/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am b/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am index fe5ec32c..81df1152 100644 --- a/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am +++ b/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am @@ -1,13 +1,13 @@ bin_PROGRAMS = %{APPNAMELC} %{APPNAMELC}_SOURCES = \ - %{APPNAMELC}.cc\ - main_window_glade.cc \ - main_window.cc + %{APPNAMELC}.cpp\ + main_window_glade.cpp \ + main_window.cpp noinst_HEADERS = \ - main_window_glade.hh \ - main_window.hh + main_window_glade.h \ + main_window.h AM_CXXFLAGS = @CXXFLAGS@ @GNOMEMM_CFLAGS@ |