Clean up fontsmanager
This commit is contained in:
parent
076e32b1d6
commit
64f0b3e77a
26 changed files with 111 additions and 89 deletions
|
@ -61,20 +61,6 @@ void CommandLineArgs::process(const std::vector<std::string>& args)
|
|||
mArugments = args;
|
||||
}
|
||||
|
||||
std::size_t CommandLineArgs::getNumberOfArgs() const
|
||||
{
|
||||
return mArugments.size();
|
||||
}
|
||||
|
||||
std::string CommandLineArgs::getArg(std::size_t index) const
|
||||
{
|
||||
if(index<mArugments.size())
|
||||
{
|
||||
return mArugments[index];
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
std::vector<std::string> CommandLineArgs::getUserArgs() const
|
||||
{
|
||||
std::vector<std::string> user_args;
|
||||
|
@ -84,3 +70,8 @@ std::vector<std::string> CommandLineArgs::getUserArgs() const
|
|||
}
|
||||
return user_args;
|
||||
}
|
||||
|
||||
const std::vector<std::string> CommandLineArgs::getArgs() const
|
||||
{
|
||||
return mArugments;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue