summaryrefslogtreecommitdiff
path: root/src/gtk/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk/init.h')
-rw-r--r--src/gtk/init.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gtk/init.h b/src/gtk/init.h
new file mode 100644
index 00000000..58320a28
--- /dev/null
+++ b/src/gtk/init.h
@@ -0,0 +1,33 @@
+/** \file init.h */ // -*-c++-*-
+
+// Copyright 1999-2010 Daniel Burrows
+// Copyright 2008-2009 Obey Arthur Liu
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+#ifndef APTITUDE_GTK_INIT_H
+#define APTITUDE_GTK_INIT_H
+
+namespace gui
+{
+ /** \brief Run the GUI frontend to aptitude.
+ *
+ * \return \b true if the GUI was able to start at all.
+ */
+ bool init(int argc, char **argv);
+}
+
+#endif // APTITUDE_GTK_INIT_H