acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
application.h
1// Created by camilo on 2023-04-15 19:07 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5namespace accessibility
6{
7
8
9 class main_window;
10
11
12 class CLASS_DECL_ACME application :
13 virtual public ::particle
14 {
15 public:
16
17
18 ::process_identifier m_processidentifier;
19 ::string m_strRepos;
20 ::string m_strApp;
21
22
23 application();
24 ~application() override;
25
26
27 virtual void open_by_process_identifier(::process_identifier processidentifier);
28
29 virtual void open_by_module_path(const ::scoped_string & scopedstr);
30
31 virtual void open_by_app_id(const ::scoped_string & scopedstrRepos,
32 const ::scoped_string & scopedstrApp);
33
34 virtual void post_close();
35
36 virtual void post_exit();
37
38 virtual ::string name();
39
40 virtual ::string main_window_title();
41
42 virtual ::file::path module_path();
43
44 virtual ::collection::count window_count() const;
45
46 inline bool has_window() const { return this->window_count(); }
47
48
49 };
50
51
52} // namespace accessibility
53
54
55
Definition main_window.h:14