]> git.llucax.com Git - software/bife/bife++.git/blobdiff - chit.h
Now widgets are passed as pointer (and stored as pointers) in container classes.
[software/bife/bife++.git] / chit.h
diff --git a/chit.h b/chit.h
index 434e64e6942d9ae419fdba507d2da1fbd45f4b4c..4043d29728b01b265b136e24d196b05a7ce1c0e6 100644 (file)
--- a/chit.h
+++ b/chit.h
@@ -35,7 +35,7 @@ namespace bife {
              * @param  filename Name of the file to get the content.
              * @return File content.
              */
-            virtual string getFileContent(string);
+            virtual string getFileContent(const string&);
 
         public:
             /**
@@ -45,7 +45,8 @@ namespace bife {
              * @param postfix Postfix of the template files.
              * @param group   Starting group.
              */
-            CHIT(string = string("."), string = string(".tpl"), string = string(""));
+            CHIT(const string& = string("."), const string& = string(".tpl"),
+                    const string& = string(""));
 
             /**
              * Destructor.