summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 16:58:29 (UTC)
committer simon <simon>2002-12-02 16:58:29 (UTC)
commitd86803bacac02ae99388cba069532851a5e08ce8 (patch) (unidiff)
tree038325e6aaca32d93d93988948d6b36cc3b8bcd3
parent0b30001a6e9aef6de72577ba3a4957eeb0febf54 (diff)
downloadopie-d86803bacac02ae99388cba069532851a5e08ce8.zip
opie-d86803bacac02ae99388cba069532851a5e08ce8.tar.gz
opie-d86803bacac02ae99388cba069532851a5e08ce8.tar.bz2
- save memory, use bitfields
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h
index b99178d..163586b 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.h
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h
@@ -98,46 +98,46 @@ public slots:
98 void toggleBlank(); 98 void toggleBlank();
99 void writeConfig( Config& cfg ) const; 99 void writeConfig( Config& cfg ) const;
100 100
101 101
102signals: 102signals:
103 void fullscreenToggled( bool ); 103 void fullscreenToggled( bool );
104 void scaledToggled( bool ); 104 void scaledToggled( bool );
105 void loopingToggled( bool ); 105 void loopingToggled( bool );
106 void shuffledToggled( bool ); 106 void shuffledToggled( bool );
107 void playlistToggled( bool ); 107 void playlistToggled( bool );
108 void pausedToggled( bool ); 108 void pausedToggled( bool );
109 void playingToggled( bool ); 109 void playingToggled( bool );
110 void stopToggled( bool ); 110 void stopToggled( bool );
111 void positionChanged( long ); // When the slider is moved 111 void positionChanged( long ); // When the slider is moved
112 void positionUpdated( long ); // When the media file progresses 112 void positionUpdated( long ); // When the media file progresses
113 void lengthChanged( long ); 113 void lengthChanged( long );
114 void viewChanged( char ); 114 void viewChanged( char );
115 void isSeekableToggled( bool ); 115 void isSeekableToggled( bool );
116 void blankToggled( bool ); 116 void blankToggled( bool );
117 void videoGammaChanged( int ); 117 void videoGammaChanged( int );
118 void prev(); 118 void prev();
119 void next(); 119 void next();
120 120
121private: 121private:
122 bool streaming; 122 bool streaming : 1;
123 bool seekable; 123 bool seekable : 1;
124 bool fullscreen; 124 bool fullscreen: 1;
125 bool scaled; 125 bool scaled : 1;
126 bool blanked; 126 bool blanked : 1;
127 bool looping; 127 bool looping : 1;
128 bool shuffled; 128 bool shuffled : 1;
129 bool usePlaylist; 129 bool usePlaylist : 1;
130 bool paused; 130 bool paused : 1;
131 bool playing; 131 bool playing : 1;
132 bool stopped; 132 bool stopped : 1;
133 long curPosition; 133 long curPosition;
134 long curLength; 134 long curLength;
135 char curView; 135 char curView;
136 int videoGamma; 136 int videoGamma;
137 void readConfig( Config& cfg ); 137 void readConfig( Config& cfg );
138 138
139}; 139};
140 140
141 141
142#endif // MEDIA_PLAYER_STATE_H 142#endif // MEDIA_PLAYER_STATE_H
143 143