Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv31533/include

Modified Files:
        Profile.h 
Log Message:
added CreateTemp()

Index: Profile.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Profile.h,v
retrieving revision 1.83
retrieving revision 1.84
diff -b -u -2 -r1.83 -r1.84
--- Profile.h   27 Sep 2003 23:23:00 -0000      1.83
+++ Profile.h   7 Oct 2003 22:49:40 -0000       1.84
@@ -100,4 +100,5 @@
    };
 
+
    /// Creates the one global config object.
    static Profile * CreateGlobalConfig(const String & filename);
@@ -122,4 +123,21 @@
    /// creates/gets a FilterProfile entry in the configuration
    static Profile * CreateFilterProfile(const String &name);
+
+   /**
+      Create a temporary profile.
+
+      Such temporary profiles are used for messages opened separately from the
+      folder view associated with their folder and for temporary folders (i.e.
+      those not in the folder tree at all). They inherit all settings from
+      their parent profile but any changes to them -- intentionally --
+      disappear when they are destroyed.
+
+      @param parent the parent profile to inherit settings from, global profile
+                    is used if this parameter is NULL (default)
+      @return a temporary profile object which can be used as any other and
+              must be DecRef()'d by caller or NULL if creation failed
+    */
+   static Profile *CreateTemp(Profile *parent = NULL);
+
 
    /// Delete the global config object



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to