]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins_Config.h
...
[cpPlugins.git] / lib / cpPlugins_Config.h
index 98862627acbb26ea5c619e8980f6a2bf3628ef72..984f23b874119dd975e9f100a4e341af0f019edf 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef __CPPLUGINS_CONFIG__H__
 #define __CPPLUGINS_CONFIG__H__
 
+/*
+ * =========================================================================
+ * Some global values
+ * =========================================================================
+ */
+#define cpPlugins_PATHS "cpPlugins_PATHS"
+
 /*
  * =========================================================================
  * ITK related macros
@@ -101,9 +108,9 @@ namespace cpPlugins
   };
 
   // -----------------------------------------------------------------------
-  inline bool IsBlank( const char& value )
+  inline bool IsBlank( const char& v )
   {
-    return( value == ' ' || value == '\t' || value == '\n' || value == '\r' );
+    return( v == ' ' || v == '\t' || v == '\n' || v == '\r' );
   }
 
   // -----------------------------------------------------------------------
@@ -146,7 +153,9 @@ namespace cpPlugins
   }
 
   // -----------------------------------------------------------------------
-  inline bool ReadFileIntoString( std::string& buffer, const std::string& fname )
+  inline bool ReadFileIntoString(
+    std::string& buffer, const std::string& fname
+    )
   {
     buffer = "";
     std::ifstream file_stream( fname.c_str( ) );