Changeset 5586f4 in git
- Timestamp:
- Sep 8, 1997, 12:43:01 PM (26 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 38eab603130b954c28838dc7d34d13ea7784b0ae
- Parents:
- 2dcfbba86f8300d337b4fd51e384791413d74f86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_switches.h
r2dcfbba r5586f4 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_switches.h,v 1. 4 1997-07-23 15:55:19schmidt Exp $ */2 /* $Id: cf_switches.h,v 1.5 1997-09-08 10:43:01 schmidt Exp $ */ 3 3 4 4 #ifndef INCL_CF_SWITCHES_H … … 39 39 //{{{ inline method docu 40 40 // 41 // void On ( int s )42 // void Off ( int s )43 // bool isOn ( int s )44 // bool isOff ( int s )41 // void On ( int s ) 42 // void Off ( int s ) 43 // bool isOn ( int s ) 44 // bool isOff ( int s ) 45 45 // 46 46 // On(), Off() - switch s on or off, resp. … … 54 54 bool switches [CFSwitchesMax]; 55 55 public: 56 CFSwitches ();57 ~CFSwitches () {}56 CFSwitches (); 57 ~CFSwitches () {} 58 58 59 void On ( int s ) { switches[s] = true; }60 void Off ( int s ) { switches[s] = false; }61 bool isOn ( int s ) const { return switches[s]; }62 bool isOff ( int s ) const { return ! switches[s]; }59 void On ( int s ) { switches[s] = true; } 60 void Off ( int s ) { switches[s] = false; } 61 bool isOn ( int s ) const { return switches[s]; } 62 bool isOff ( int s ) const { return ! switches[s]; } 63 63 }; 64 64 //}}}
Note: See TracChangeset
for help on using the changeset viewer.