1 /*******************************************************************************
2 ********************************************************************************
4 Copyright (c) 2008 Ahmed S. Badran
6 Licensed under the FreeBSD License (see LICENSE)
8 Filename: vimicxx_conf.h
9 Description: Implements vimicxx configuration file policy.
10 Created: 09/07/2008 05:03:11 PM PDT
11 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
13 ********************************************************************************
14 *******************************************************************************/
15 #ifndef VIMICXX_CONF_INC
16 #define VIMICXX_CONF_INC
23 vimicxx_conf(const std::string
& vimicxx_dir
);
24 static const std::string
err_to_string(int e
);
25 int add_project(const std::string
& prj_name
, const std::string
&
26 prj_path
, const std::vector
<std::string
>& ext_list
);
27 bool get_project_path(const std::string
& prj
, std::string
* path
) const;
28 bool get_project_cache_dir(const std::string
& prj
, std::string
* cache
)
30 bool get_project_index(const std::string
& prj
, std::string
* index
)
32 bool get_project_flist(const std::string
& prj
, std::string
* flist
)
34 bool get_project_tags_db(const std::string
& prj
, std::string
*
42 Err_DuplicatePrjCache
,
47 const std::string vimicxx_home
;
48 const std::string conf_path
;
51 vimicxx_conf(const vimicxx_conf
&);
52 const vimicxx_conf
& operator=(const vimicxx_conf
&);
54 #endif // ----- #ifndef VIMICXX_CONF_INC -----