acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
account.h
1
// Created by camilo on 2024-06-02 16:49 <3ThomasBorregaardSorensen!!
2
// From idn by camilo on 2024-06-02 18:09 <3ThomasBorregaardSorensen!!
3
// From dynamic_library by camilo on 2024-06-02 18:35 <3ThomasBorregaardSorensen!!
4
#pragma once
5
6
7
#include "acme/platform/department.h"
8
#include "acme/prototype/collection/string_map.h"
9
10
11
namespace
nano
12
{
13
14
15
namespace
account
16
{
17
18
19
class
CLASS_DECL_ACME account :
20
virtual
public
::platform::department
21
{
22
public
:
23
24
25
inline
static
const_char_pointer represented_component_name()
26
{
27
28
return
"nano_account"
;
29
30
}
31
32
33
string_map_base<::pointer<::nano::account::user>
> m_usermap;
34
35
account();
36
~account()
override
;
37
38
39
void
on_initialize_particle()
override
;
40
41
42
virtual ::pointer<::nano::account::user> get_user(const ::pointer < ::nano::account::id > & pid);
43
44
virtual ::pointer<::nano::account::user> _get_user(const ::pointer < ::nano::account::id > & pid);
45
46
virtual ::pointer < ::nano::account::id > username_id(const ::scoped_string & scopedstrUsername);
47
48
virtual ::pointer < ::nano::account::id > current_user_id();
49
50
};
51
52
53
}
// dynamic_library
54
55
56
}
// nano
57
58
platform::department
Definition
department.h:13
string_map_base
Definition
string_map.h:10
nano
account
account.h
Generated by
1.17.0