Added cscope_db
[vimicxx.git] / src / cscope_db.h
blob49c3a8a61e836a5e0f42341fef29d7f71fc01d44
1 /*******************************************************************************
2 ********************************************************************************
4 Copyright (c) 2008 Ahmed S. Badran
6 Licensed under the FreeBSD License (see LICENSE)
8 Filename: cscope_db.h
9 Description: A cscope db abstraction layer.
10 Created: 09/07/2008 04:44:50 PM PDT
11 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
13 ********************************************************************************
14 *******************************************************************************/
15 #ifndef CSCOPE_DB_INC
16 #define CSCOPE_DB_INC
17 #include <string>
18 #include <vector>
19 class cscope_db
21 public:
22 cscope_db(const std::string& prj_cache_dir, const std::string&
23 prj_dir, const std::vector<std::string>& extensions);
24 void update();
25 void save();
26 const std::string get_cscope_db_path() const;
27 const std::string get_manifest_path() const;
28 ~cscope_db();
29 private:
30 cscope_db(const cscope_db& );
31 cscope_db& operator=(const cscope_db&);
33 #endif // ----- #ifndef CSCOPE_DB_INC -----