wxAttribute

From WxWiki
Jump to: navigation, search

wxAttribute is a simple a class to get on *nix system file's attribute.

DL : http://wxattribute.codeblog.powa.fr/doku.php?id=telechargement

Doc : http://wxattribute.codeblog.powa.fr/doku.php?id=documentation

Example :

   #include "wxattribute.h"
   using namespace std;
   int main(int argc,char *argv[])
   {
       wxAttribute att(_("main.cpp"));
       if(att.IsOK()==true)
       {
        cout<<att;
       }
       return 0;
   }

or

   #include "wxattribute.h"
   using namespace std;
   int main(int argc,char *argv[])
   {
       wxAttribute att;
       if(att.Test("main.cpp")!=0)
       {
           cout<<att;
     }
       return 0;
   }