Delay committing fullscreen until seeing window size change
[lsnes.git] / include / core / mbranch.hpp
blob669109877a8f462a3d37b9c400b897f3994fecd9
1 #ifndef _mbranch__hpp__included__
2 #define _mbranch__hpp__included__
4 #define MBRANCH_IMPORT_TEXT 0
5 #define MBRANCH_IMPORT_BINARY 1
6 #define MBRANCH_IMPORT_MOVIE 2
8 class emulator_dispatch;
9 class status_updater;
10 class movie_logic;
12 struct movie_branches
14 movie_branches(movie_logic& _mlogic, emulator_dispatch& _dispatch, status_updater& _supdater);
15 std::string name(const std::string& internal);
16 std::set<std::string> enumerate();
17 std::string get();
18 void set(const std::string& branch);
19 void _new(const std::string& branch, const std::string& from);
20 void rename(const std::string& oldn, const std::string& newn);
21 void _delete(const std::string& branch);
22 std::set<std::string> _movie_branches(const std::string& filename);
23 void import_branch(const std::string& filename, const std::string& ibranch, const std::string& branchname,
24 int mode);
25 void export_branch(const std::string& filename, const std::string& branchname, bool binary);
26 private:
27 movie_logic& mlogic;
28 emulator_dispatch& edispatch;
29 status_updater& supdater;
32 #endif