27 #ifndef __MediaLocation__ 28 #define __MediaLocation__ 43 : fLocationIsURL(kFalse),
48 : fLocationIsURL(isURL),
49 fLocation(locationString) {}
53 : fLocationIsURL(orig.fLocationIsURL),
54 fLocation(orig.fLocation) {}
60 { Set(copy);
return *
this; }
64 {
return fLocationIsURL == ml.fLocationIsURL &&
65 fLocation == ml.fLocation; }
69 {
return (!(*
this == ml)); }
84 int32 extensionCharCount = delimIndex >= 0 ? locStr.
CharCount() - delimIndex - 1 : 0;
86 if ( extensionCharCount > 0 )
88 for ( CharCounter i = delimIndex + 1; i < locStr.
CharCount(); i++ )
100 virtual bool16
IsFile()
const {
return !fLocationIsURL; }
105 virtual bool16
IsURL()
const {
return fLocationIsURL; }
108 bool16 fLocationIsURL;
112 { fLocationIsURL = copy.fLocationIsURL; fLocation = copy.fLocation; }
116 #endif // __MediaLocation__