Subversion Repositories tpanel

Rev

Rev 118 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 118 Rev 151
Line 96... Line 96...
96
        const std::string& getPath() { return mPath; }
96
        const std::string& getPath() { return mPath; }
97
        PANEL_SETUP_T& getSettings() { return mSetup; }
97
        PANEL_SETUP_T& getSettings() { return mSetup; }
98
        int getWith() { return mSetup.screenWidth; }
98
        int getWith() { return mSetup.screenWidth; }
99
        int getHeight() { return mSetup.screenHeight; }
99
        int getHeight() { return mSetup.screenHeight; }
100
        int getRotate() { return mSetup.screenRotate; }
100
        int getRotate() { return mSetup.screenRotate; }
-
 
101
        bool isPortrait();
-
 
102
        bool isLandscape();
101
        std::vector<RESOURCE_LIST_T>& getResourcesList() { return mResourceLists; }
103
        std::vector<RESOURCE_LIST_T>& getResourcesList() { return mResourceLists; }
102
        bool loadSettings(bool initial=false);
104
        bool loadSettings(bool initial=false);
103
        std::string& getPowerUpPage() { return mSetup.powerUpPage; }
105
        std::string& getPowerUpPage() { return mSetup.powerUpPage; }
-
 
106
        int getVoipCmdPort() { return mSetup.voipCommandPort; }
104
 
107
 
105
    private:
108
    private:
106
        RESOURCE_LIST_T findResourceType(const std::string& type);
109
        RESOURCE_LIST_T findResourceType(const std::string& type);
107
 
110
 
108
        std::string mPath;                              // The path to the resources
111
        std::string mPath;                              // The path to the resources