X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=launcher-item.h;h=af40ca2e70e169a88b4b7ab682ee858ec6c762ea;hb=HEAD;hp=220c20a1875f2c0ec5100b7a6c0ea3fda4ea4efc;hpb=6f2ec1c466973eb0f2d0db7679526463971f888b;p=simple-launcher diff --git a/launcher-item.h b/launcher-item.h index 220c20a..af40ca2 100644 --- a/launcher-item.h +++ b/launcher-item.h @@ -53,11 +53,11 @@ public: } } + bool checkSanity(void) { return !myName.empty() && (!myService.empty() || !myExec.empty()); } + private: std::string translateString(const std::string& what) const; - bool checkSanity(void) { return !myName.empty() && (!myService.empty() || !myExec.empty()); } - private: std::string myFileName, myName, myComment, myIcon, myService, myExec, myTextDomain; bool myEnabled; @@ -65,7 +65,7 @@ private: static GtkIconTheme *ourTheme; }; -typedef struct LauncherItems { +struct LauncherItems { typedef std::vector Names; typedef std::map Items;