more of cellar's internals are now aware of steam bottles

This commit is contained in:
2025-02-03 18:50:02 -08:00
parent de049cea1a
commit e77b61b1d9
6 changed files with 64 additions and 12 deletions

View File

@@ -22,6 +22,14 @@ namespace cellar {
bottle_steam
};
enum bottle_manager {
manager_error,
manager_cellar,
manager_steam
};
extern std::string bottle_home;
/**
* Bottles are the internal name for WINE prefixes. In addition to standard WINE contents,
* bottles contain a configuration file managed by cellar, which labels the bottle as well
@@ -31,6 +39,7 @@ namespace cellar {
public:
// public members
bottle_type type;
bottle_manager manager;
json config;
string path;
string canonical_path;

View File

@@ -21,6 +21,8 @@ namespace cellar {
cog.outl("extern void {0} (int, vector<string>);".format(item[1]))
]]]*/
//[[[end]]]
extern void setup_bottle_home();
}
namespace commands {
extern map<string, cellar::commands::CommandFunction> bottles_commands();