Subversion Repositories tpanel

Rev

Rev 446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 459
Line 72... Line 72...
72
        RESOURCE_T findResource(const std::string& type, const std::string& name);
72
        RESOURCE_T findResource(const std::string& type, const std::string& name);
73
        RESOURCE_T findResource(const std::string& name);
73
        RESOURCE_T findResource(const std::string& name);
74
        size_t getResourceIndex(const std::string& type);
74
        size_t getResourceIndex(const std::string& type);
75
        bool setResource(const std::string& name, const std::string& scheme, const std::string& host, const std::string& path, const std::string& file, const std::string& user, const std::string& pw, int refresh=-1);
75
        bool setResource(const std::string& name, const std::string& scheme, const std::string& host, const std::string& path, const std::string& file, const std::string& user, const std::string& pw, int refresh=-1);
76
        bool addResource(const std::string& name, const std::string& scheme, const std::string& host, const std::string& path, const std::string& file, const std::string& user, const std::string& pw, int refresh=-1);
76
        bool addResource(const std::string& name, const std::string& scheme, const std::string& host, const std::string& path, const std::string& file, const std::string& user, const std::string& pw, int refresh=-1);
77
 
-
 
-
 
77
        std::string decryptPassword(const std::string& pw);
78
        static const size_t npos = static_cast<size_t>(-1);
78
        static const size_t npos = static_cast<size_t>(-1);
79
 
79
 
80
    private:
80
    private:
81
        std::vector<RESOURCE_LIST_T> mResources;
81
        std::vector<RESOURCE_LIST_T> mResources;
82
};
82
};