]> Creatis software - cpPlugins.git/blobdiff - appli/examples/plugins/LoadDirectory.cxx
Windows compilation 3/3
[cpPlugins.git] / appli / examples / plugins / LoadDirectory.cxx
index a51cef3038f1c0c215689795efe748609b81af36..17930a397581632c648777c43e32ed9250ca43aa 100644 (file)
@@ -13,8 +13,8 @@ int main( int argc, char* argv[] )
   std::string directory = argv[ 1 ];
 
   // Create interface and load library
-  cpPlugins::Interface::Plugins::Pointer interface =
-    cpPlugins::Interface::Plugins::New( );
+  typedef cpPlugins::Interface::Plugins TPlugins;
+  TPlugins::Pointer interface = TPlugins::New( );
   try
   {
     interface->LoadEnvironments( );