acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
application_axis.h
1//
2// Created by camilo on 2024-10-28 01:50 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7namespace platform
8{
9
10//
11// struct CLASS_DECL_ACME axis_application_layer_t
12// {
13//
14//
15// ::pointer<::simpledb::server> m_psimpledb;
16//
17//
18// };
19
20
21 class CLASS_DECL_ACME axis_application_layer
22 {
23 public:
24
25 virtual ::pointer < ::geo::geo > create_geo();
26
27// // void assert_ok() const override;
28// // void dump(dump_context & dumpcontext) const override;
29 //bool assert_user_logged_in() override;
30
31 //string __get_text(const ::scoped_string & scopedstr) override;
32
33 //virtual ::user::style* get_user_style() const;
34
35 //::string calculate_data_key() override;
36
37
38
39
40 virtual ::simpledb::server * simpledb();
41
42 // ::database::server * dataserver() override;
43 //
44 //
45 // void verb() override;
46 //
47 //
48 // bool Ex2OnAppInstall() override;
49 // bool Ex2OnAppUninstall() override;
50 //
51 // //virtual void init_application() override;
52 //
53 // void init1() override;
54 // void init2() override;
55 // void init3() override;
56 //
57 //
58 // void init() override;
59 //
60 //
61 // void init_instance() override;
62
63 //
64 // void run() override;
65 // //void main() override;
66 // void on_run() override;
67 //
68 // void application_pre_run() override;
69 // void os_native_bergedge_start() override;
70 //
71
72
73 //
74 //
75 // void term() override;
76 //
77 //
78 // void term_application() override;
79 //
80
81
82
83 //bool InitApplication() override;
84
85
86 //void process_init() override;
87
88
89
90
91
92
93
94
95 //bool app_data_set(const ::atom & atom, stream & os) override;
96 //bool app_data_get(const ::atom & atom, stream & is) override;
97
98 //bool app_data_set(const ::atom & atom, ::object & obj) override;
99 //bool app_data_get(const ::atom & atom, ::object & obj) override;
100
101
102 //
103 //
104 // void process_term() override;
105 //
106 //
107 // void term1() override;
108 // void term2() override;
109 // void term3() override;
110 //
111 //
112 //
113
114
115
116 //virtual string http_get_locale_schema(const ::scoped_string & scopedstrUrl, const ::scoped_string & scopedstrLocale, const ::scoped_string & scopedstrSchema);
117
118 //virtual void on_update_matter_locator() override;
119
120 //virtual void locale_schema_matter(string_array_base & stra, const string_array_base & straMatterLocator, const ::scoped_string & scopedstrLocale, const ::scoped_string & scopedstrSchema) override;
121 //virtual void matter_locator_locale_schema_matter(string_array_base & stra, const string_array_base & straMatterLocator, const ::scoped_string & scopedstrLocale, const ::scoped_string & scopedstrSchema);
122
123 //virtual string get_locale_schema_dir(const ::scoped_string & scopedstrLocale, const ::scoped_string & scopedstrSchema);
124 //virtual string get_locale_schema_dir(const ::scoped_string & scopedstrLocale);
125 //virtual string get_locale_schema_dir() override;
126
127 //virtual void set_locale(const ::scoped_string & scopedstr, const ::action_context & action_context);
128
129 //virtual void set_schema(const ::scoped_string & scopedstr, const ::action_context & action_context);
130
131 /* virtual void on_set_locale(const ::scoped_string & scopedstr, const ::action_context & action_context);
132
133 virtual void on_set_schema(const ::scoped_string & scopedstr, const ::action_context & action_context);
134*/
135
136
137
138 //void interactive_credentials(::account::credentials * pcredentials) override;
139
140
141 virtual ::account::user * get_user(::file::path pathUrl = nullptr, bool bFetch = false, bool bInteractive = true);
142
143 virtual ::account::user * interactive_get_user(::file::path pathUrl = nullptr);
144
145 virtual ::account::user * noninteractive_get_user(::file::path pathUrl = nullptr);
146
147
148 //::platform::type control_type_from_id(const ::atom& atom, ::user::enum_control_type& econtroltype) override;
149 //::user::interaction* create_menu_interaction() override;
150
151 };
152
153
154} // namespace platform
155
156
157
158
Definition path.h:52
Definition application_axis.h:22
include "thread/AutoLock.h"
Definition _forward_declaration.h:877