summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index a232d69..650a2da 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -183,6 +183,12 @@ public:
183 virtual bool setDisplayContrast ( int contrast ); 183 virtual bool setDisplayContrast ( int contrast );
184 virtual int displayContrastResolution ( ) const; 184 virtual int displayContrastResolution ( ) const;
185 185
186 // don't add new virtual methods, use this:
187 ///*virtual */ void boo(int i ) { return virtual_hook(1,&i); };
188 // and in your subclass do do overwrite
189 //protected virtual int virtual_hook(int, void *)
190 // which is defined below
191
186// input / output 192// input / output
187 //FIXME playAlarmSound and al might be better -zecke 193 //FIXME playAlarmSound and al might be better -zecke
188 virtual void alarmSound ( ); 194 virtual void alarmSound ( );