]> git.llucax.com Git - software/bife/bife++.git/blobdiff - ghit.h
Now widgets are passed as pointer (and stored as pointers) in container classes.
[software/bife/bife++.git] / ghit.h
diff --git a/ghit.h b/ghit.h
index e362728488ea8e644c1e7aa8a87a213ecd19a249..1cfc00bbfb492fa42ab7498dfed7015b80b4e465 100644 (file)
--- a/ghit.h
+++ b/ghit.h
@@ -38,7 +38,7 @@ namespace bife {
              * @param  blockname Name of the block to get the filename.
              * @return Block's filename.
              */
-            virtual string getFileName(string);
+            virtual string getFileName(const string&);
 
         public:
             /**
@@ -48,7 +48,8 @@ namespace bife {
              * @param postfix Postfix of the template files.
              * @param group   Starting group.
              */
-            GHIT(string = string("."), string = string(".tpl"), string = string(""));
+            GHIT(const string& = string("."), const string& = string(".tpl"),
+                    const string& = string(""));
 
             /**
              * Destructor.
@@ -60,7 +61,7 @@ namespace bife {
              *
              * @param group Group of templates to work with.
              */
-            virtual void pushGroup(string);
+            virtual void pushGroup(const string&);
 
             /**
              * Stops working with a group of templates.