Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeMountMessage.h

Go to the documentation of this file.
00001 //
00002 // CascadeMountMessage.h - header file for class CascadeMountMessage
00003 //
00004 // Copyright (c) 2003, Roku, LLC.  All rights reserved.
00005 //
00008 
00009 #ifndef _ROKU_INCLUDE_CASCADE_APP_CASCADEMOUNTMESSAGE_H
00010 #define _ROKU_INCLUDE_CASCADE_APP_CASCADEMOUNTMESSAGE_H
00011 
00012 #include <cascade/CascadeTypedefs.h>
00013 
00027 class CascadeMountMessage
00028 {
00029 public:
00030     enum MountType
00031     {
00032         kMounted = 0,       
00033         kUnmounted = 1      
00034     };
00042     enum MediaType
00043     {
00044         kInternalFlash = 0,
00045         kCompactFlash = 1,
00046         kSmartMedia = 2,
00047         kMemoryStick = 3,
00048         kSDMedia = 4,
00049         kExternalMedia = 5,
00050         kNFSMount = 6,
00051         kSMBMount = 7,
00052         kFTPMount = 8,
00053         kUPnPAVMount = 9,
00054                 kNumMediaTypes = kUPnPAVMount + 1,
00055     };
00062     enum
00063     {
00064         kMaxMediaDescLen = 127,                  
00065         kMaxMediaDesc = kMaxMediaDescLen + 1,    
00066         kMaxMountPointLen = 255,                 
00067         kMaxMountPoint = kMaxMountPointLen + 1,  
00068     };
00069 
00070 public:
00071     MountType m_mountType;
00076     MediaType m_mediaType;
00081     char m_mountPoint[kMaxMountPoint];
00085     char m_mediaDesc[kMaxMediaDesc];
00089     bool m_bReadOnly;
00094 public:
00095     static u32 MessageID();
00107 };
00108 
00109 #endif // #ifndef _ROKU_INCLUDE_CASCADE_APP_CASCADEMOUNTMESSAGE_H
00110 
00112 //  LOG
00114 //  27-May-03   dwoodward   created
00115 //  27-Aug-03   dwoodward   increased the size of the path and desc lengths; smb
00116 //                          shares were over the old limits
00117 //  21-Dec-04   dwoodward   added kUPnPAVMount

Generated on Sun Jul 24 14:27:17 2005 for Cascade Library by  doxygen 1.4.1