Subversion Repositories tpanel

Rev

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

Rev 245 Rev 247
Line 5... Line 5...
5
class TIOSRotate
5
class TIOSRotate
6
{
6
{
7
    public:
7
    public:
8
        TIOSRotate();
8
        TIOSRotate();
9
 
9
 
10
        void rotate(int dir);
10
        static void rotate(int dir);
11
        static void setAllowedOrientations(bool portrait) { mPortrait = portrait; }
11
        static void setAllowedOrientations(bool portrait) { mPortrait = portrait; }
12
        static bool getAllowedOrientation() { return mPortrait; }
12
        static bool getAllowedOrientation() { return mPortrait; }
-
 
13
        static void automaticRotation(bool allow);
13
 
14
 
14
    private:
15
    private:
15
        static bool mPortrait;
16
        static bool mPortrait;
16
};
17
};
17
 
18