filemanager/src/inc/fmdefine.h
changeset 46 d58987eac7e8
parent 37 15bc28c9dd51
--- a/filemanager/src/inc/fmdefine.h	Tue Aug 24 10:24:14 2010 +0800
+++ b/filemanager/src/inc/fmdefine.h	Wed Sep 29 10:37:03 2010 +0800
@@ -67,6 +67,8 @@
 
 // define  contact data path for view details.
 #define FmViewDetail_Contacts ( "\\private\\10003a73\\SQLite__Contacts.cdb" )
+// define message data path for view details
+#define FmViewDetail_Messages ( "\\private\\1000484b\\Mail2" )
 
 #define FmMaxLengthofDriveName           11
 #define FmMaxLengthofDrivePassword       8
@@ -89,4 +91,13 @@
 // is not end with dot( trim blank characters in the end first )
 #define Regex_ValidNotEndWithDot QString( "^.*[^\\.\\s][\\s]*$" )
 
+// use slash(/) not backslash(\) or QDir::separator() because QRegExp can not recognize BackSlash(\)
+#define RegexWidecard_SystemFolder      QString( "?:/system/*" )
+#define RegexWidecard_SysFolder         QString( "?:/sys/*" )
+#define RegexWidecard_PrivateFolder     QString( "?:/private/*" )
+#define RegexWidecard_ResourceFolder    QString( "?:/resource/*" )
+
+#define Char_Slash       QChar( '/' )
+#define Char_BackSlash   QChar( '\\' )
+
 #endif