Changeset 31 for trunk/freebob/src/ieee1394service.h
- Timestamp:
- 11/28/04 14:11:36 (19 years ago)
- Files:
-
- trunk/freebob/src/ieee1394service.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freebob/src/ieee1394service.h
r21 r31 28 28 29 29 /* XXX: add those to avc1394.h */ 30 #define AVC1394_SUBUNIT_TYPE_AUDIO (1 <<19) 31 #define AVC1394_SUBUNIT_TYPE_PRINTER (2 <<19) 32 #define AVC1394_SUBUNIT_TYPE_CA (6 <<19) 33 #define AVC1394_SUBUNIT_TYPE_PANEL (9 <<19) 34 #define AVC1394_SUBUNIT_TYPE_BULLETIN_BOARD (0xA <<19) 35 #define AVC1394_SUBUNIT_TYPE_CAMERA_STORAGE (0xB <<19) 36 #define AVC1394_SUBUNIT_TYPE_MUSIC (0xC <<19) 30 #define AVC1394_SUBUNIT_TYPE_AUDIO (1 <<19) 31 #define AVC1394_SUBUNIT_TYPE_PRINTER (2 <<19) 32 #define AVC1394_SUBUNIT_TYPE_CA (6 <<19) 33 #define AVC1394_SUBUNIT_TYPE_PANEL (9 <<19) 34 #define AVC1394_SUBUNIT_TYPE_BULLETIN_BOARD (0xA <<19) 35 #define AVC1394_SUBUNIT_TYPE_CAMERA_STORAGE (0xB <<19) 36 #define AVC1394_SUBUNIT_TYPE_MUSIC (0xC <<19) 37 37 38 38 #define AVC1394_SUBUNIT_MUSIC_CAPABILITY_GENERAL (1<<0) … … 53 53 class Ieee1394Service { 54 54 public: 55 Ieee1394Service();56 ~Ieee1394Service();57 58 55 FBReturnCodes initialize(); 59 void shutdown(); 56 void shutdown(); 60 57 61 58 static Ieee1394Service* instance(); … … 65 62 66 63 protected: 67 static int resetHandler( raw1394handle_t handle, 64 static int resetHandler( raw1394handle_t handle, 68 65 unsigned int iGeneration ); 69 66 void setGenerationCount( unsigned int iGeneration ); … … 76 73 void printRomDirectory( int iNodeId, rom1394_directory* pRomDir ); 77 74 private: 75 Ieee1394Service(); 76 ~Ieee1394Service(); 77 78 78 static Ieee1394Service* m_pInstance; 79 79 raw1394handle_t m_handle;