-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScreenRecorder.h
More file actions
46 lines (35 loc) · 987 Bytes
/
ScreenRecorder.h
File metadata and controls
46 lines (35 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef _SCREEN_RECORDER_H_
#define _SCREEN_RECORDER_H_
#include <gtkmm.h>
#include <vector>
#include <string>
#include "MainWindow.h"
#include "SettingsWindow.h"
#include "Observer.h"
#include "Recorder.h"
#include "ApplicationState.h"
class Screen_Recorder : public Gtk::Application, public Observer
{
public:
// Constructor
Screen_Recorder();
// Destuctor
~Screen_Recorder();
// on_activate gets called from gtk::Application::run
void on_activate() override;
// update
void update(int s) override;
protected:
// on_main_close reponsible for closing the application when the main_window is hidden
void on_main_close();
private:
// main window of the application
Main_Window* main_window;
// settings window of the application
Settings_Window * settings_window;
// the recorder model
Recorder* recorder;
// states vector responsible for holding states
std::vector<Application_State*> states;
};
#endif