acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
link.h
1
// Created by camilo on 2023-03-13 23:46 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
namespace
file
6
{
7
8
9
class
CLASS_DECL_ACME link :
10
virtual
public
::particle
11
{
12
public
:
13
14
15
::file::path
m_path;
16
17
18
e_link m_elink;
19
20
21
::string m_strArguments;
22
::file::path
m_pathTarget;
23
::file::path
m_pathFolder;
24
::file::path
m_pathIcon;
25
::i32 m_iIcon;
26
27
28
link();
29
~link()
override
;
30
31
32
void
clear();
33
34
35
virtual ::pointer < ::file::link > create_clean_new()
const
;
36
37
virtual
void
open(const ::file::path &
path
, ::file::e_link elink = ::file::e_link_all);
38
41
virtual ::file::e_link
write
(const ::file::path & pathWriteAs =
""
);
42
47
virtual ::file::e_link
path_find_replace
(const ::scoped_string & scopedstrSource, const ::scoped_string & scopedstrTarget);
48
49
50
virtual ::file::path
path_find_replace
(const ::file::path &
path
, const ::scoped_string & scopedstrSource, const ::scoped_string & scopedstrTarget)
const
;
51
52
virtual ::file::e_link check_link();
53
54
};
55
56
57
}
// namespace file
58
59
60
file::link::write
virtual::file::e_link write(const ::file::path &pathWriteAs="")
write link/shortcut to file
Definition
link.cpp:60
file::link::path_find_replace
virtual::file::e_link path_find_replace(const ::scoped_string &scopedstrSource, const ::scoped_string &scopedstrTarget)
patches link path member with find and replace
Definition
link.cpp:68
file::path
Definition
path.h:52
file
Definition
filesystem.h:16
filesystem
filesystem
link.h
Generated by
1.17.0