summaryrefslogtreecommitdiff
path: root/src/argv.cpp
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-08 16:22:08 -0300
committerPerberos <[email protected]>2011-11-08 16:22:08 -0300
commitf45852ab2a7126f354079499fc8b03976c0eab27 (patch)
tree885c32d804d3c970c5da41a5527882e8a956b42d /src/argv.cpp
downloadmate-system-monitor-f45852ab2a7126f354079499fc8b03976c0eab27.tar.bz2
mate-system-monitor-f45852ab2a7126f354079499fc8b03976c0eab27.tar.xz
initial
Diffstat (limited to 'src/argv.cpp')
-rw-r--r--src/argv.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/argv.cpp b/src/argv.cpp
new file mode 100644
index 0000000..a81a3c0
--- /dev/null
+++ b/src/argv.cpp
@@ -0,0 +1,22 @@
+#include <config.h>
+
+#include <glib/gi18n.h>
+#include <glibmm/optionentry.h>
+
+
+#include "argv.h"
+
+namespace procman
+{
+ OptionGroup::OptionGroup()
+ : Glib::OptionGroup("", ""),
+ show_system_tab(false)
+ {
+ Glib::OptionEntry sys_tab;
+ sys_tab.set_long_name("show-system-tab");
+ sys_tab.set_short_name('s');
+ sys_tab.set_description(_("Show the System tab"));
+ this->add_entry(sys_tab, this->show_system_tab);
+ }
+}
+