Subversion Repositories tpanel

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
243 andreas 1
#ifndef TIOSROTATE_H
2
#define TIOSROTATE_H
3
 
4
 
5
class TIOSRotate
6
{
7
    public:
245 andreas 8
        TIOSRotate();
243 andreas 9
 
247 andreas 10
        static void rotate(int dir);
245 andreas 11
        static void setAllowedOrientations(bool portrait) { mPortrait = portrait; }
12
        static bool getAllowedOrientation() { return mPortrait; }
247 andreas 13
        static void automaticRotation(bool allow);
245 andreas 14
 
15
    private:
16
        static bool mPortrait;
243 andreas 17
};
18
 
19
#endif // TIOSROTATE_H