corking, and a major refactor to accomodate it
This commit is contained in:
@@ -38,7 +38,15 @@ namespace cellar {
|
||||
string get_config(string);
|
||||
bool set_config(string, string);
|
||||
};
|
||||
|
||||
extern Bottle active_bottle;
|
||||
|
||||
extern map<string, Bottle> get_bottles();
|
||||
extern string resolve_bottle(string);
|
||||
|
||||
extern void cork(string, bool);
|
||||
extern void press(string, vector<string>, bool);
|
||||
extern void uncork(string);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -11,8 +11,6 @@ using namespace std;
|
||||
namespace cellar {
|
||||
extern void print_header();
|
||||
|
||||
extern bottles::Bottle active_bottle;
|
||||
|
||||
extern bool dryrun;
|
||||
extern bool verbose;
|
||||
}
|
||||
|
@@ -13,6 +13,7 @@ using namespace cellar::commands;
|
||||
namespace cellar {
|
||||
namespace launch {
|
||||
extern void popen(string);
|
||||
extern void popen(vector<string>);
|
||||
|
||||
/*[[[cog
|
||||
import cog
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user