Ignore:
Timestamp:
May 19, 2008, 5:41:26 PM (16 years ago)
Author:
dai_9181
Message:

Projectクラスをリファクタリング中。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/include/ProjectManager/ProjectManager.h

    r618 r619  
    77{
    88public:
    9     DWORD dwModuleType;
    109
    11     char name[MAX_PATH];
     10    void Open( char *path );
     11    bool Close();
     12
     13    const std::string &GetName() const
     14    {
     15        return name;
     16    }
     17
     18    bool IsOpened() const
     19    {
     20        return !name.empty();
     21    }
     22
     23    ActiveBasic::Common::TargetModuleType::EnumType GetModuleType() const
     24    {
     25        return moduleType;
     26    }
     27
    1228    char dir[MAX_PATH];
    1329
     
    4561    _int8 modify;
    4662
    47     bool IsOpenedProject() const
    48     {
    49         return ( name[0] != '\0' );
    50     }
     63private:
     64    std::string name;
     65    ActiveBasic::Common::TargetModuleType::EnumType moduleType;
    5166};
    5267
Note: See TracChangeset for help on using the changeset viewer.