Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Shervin Nourbakhsh
cameo
Commits
aee9c4a9
Commit
aee9c4a9
authored
Mar 05, 2020
by
legoc
Browse files
Added Instance.getName()
parent
2524aeb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
cameo-api-cpp/src/cameo/Application.cpp
View file @
aee9c4a9
...
...
@@ -461,6 +461,10 @@ void Instance::setId(int id) {
m_id
=
id
;
}
const
std
::
string
&
Instance
::
getName
()
const
{
return
EventListener
::
m_name
;
}
void
Instance
::
setErrorMessage
(
const
std
::
string
&
message
)
{
m_errorMessage
=
message
;
}
...
...
cameo-api-cpp/src/cameo/Application.h
View file @
aee9c4a9
...
...
@@ -194,6 +194,7 @@ public:
~
Instance
();
const
std
::
string
&
getName
()
const
;
int
getId
()
const
;
const
std
::
string
&
getUrl
()
const
;
const
std
::
string
&
getEndpoint
()
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment