finally started to use version control system
[simple-launcher] / launcher-item.h
diff --git a/launcher-item.h b/launcher-item.h
new file mode 100644 (file)
index 0000000..33e2779
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef __LAUNCHER_ITEM_H__
+#define __LAUNCHER_ITEM_H__
+
+#include <string>
+
+#include <gdk-pixbuf/gdk-pixbuf.h>
+
+class LauncherItem {
+public:
+  LauncherItem();
+ ~LauncherItem();
+
+  bool load(const std::string&);
+
+  GdkPixbuf *getIcon(int icon_size) const;
+
+  const std::string& getName() const { return myName; }
+  const std::string& getComment() const { return myComment; }
+  const std::string& getService() const { return myService; }
+private:
+  std::string myName, myComment, myIcon, myService;
+};
+
+#endif