25 #ifndef GCU_GTK_APPLICATION_H
26 #define GCU_GTK_APPLICATION_H
88 friend class ApplicationPrivate;
102 Application (std::string name, std::string datadir = DATADIR,
char const *help_name = NULL,
char const *icon_name = NULL,
CmdContextGtk *cc = NULL);
133 virtual void ReceiveTargets (G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data) {;}
154 void ShowURI (GdkScreen *screen, std::string& uri);
162 void OnBug (GdkScreen *screen,
char const *uri = PACKAGE_BUGREPORT)
163 {std::string s (uri);
ShowURI (screen, s);}
170 void OnWeb (GdkScreen *screen,
char const *uri =
"http://gchemutils.nongnu.org/")
171 {std::string s (uri);
ShowURI (screen, s);}
180 void OnMail (GdkScreen *screen,
char const *MailAddress =
"mailto:gchemutils-main@nongnu.org");
218 #endif // GCU_GTK_APPLICATION_H