Changeset 652 for CMT/HEAD/source/cmt_use.h
- Timestamp:
- Nov 5, 2013, 3:40:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_use.h
r608 r652 128 128 bool get_paths (Use* to, UsePtrVector& list); 129 129 130 bool located () const;131 132 void change_path (const cmt_string& path );130 inline bool located () const { return m_located; } 131 132 void change_path (const cmt_string& path, const Project* project = 0); 133 133 void set_auto_imports (State context_state, State specified_state, 134 134 cmt_map <Use*, bool>& visited); … … 153 153 ScopeType get_current_scope () const; 154 154 155 Project* get_project (); 155 const Project* get_project () const; 156 inline void set_project (const Project* project) { m_project = project; } 156 157 cmt_string get_info () const; 157 158 bool is_head_version (const cmt_string& version); … … 182 183 bool discarded; /* discarded by version strategy */ 183 184 bool selected; /* used for recursive access */ 184 bool m_located;185 // bool m_located; 185 186 bool m_hidden; 186 187 ScopeType initial_scope; … … 213 214 bool skip_discarded = false, ostream& out = cout); 214 215 // void show_sub_uses (const cmt_string& request, bool skip_discarded = false); 215 bool select_alternate ( );216 bool select_alternate (const Project* project = 0); 216 217 Use* get_selected_version (); 217 218 Use* set_selected_version (Use* selected_use); … … 235 236 //cmt_string m_package_name; /* directly read from requirements */ 236 237 238 // Project* m_project; /* the project the use is found in */ 239 const Project* m_project; /* the project the use is found in */ 240 241 bool m_located; 242 237 243 bool m_has_native_version; 238 244
Note: See TracChangeset
for help on using the changeset viewer.