mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
StyleSheetSpecification: Added "background-tint" and "foreground-tint" (tints the "background-image" and "foreground-image" respectively). FunctionString: minor fix and now stores if the parameters was parsed as a string.
35 lines
731 B
C++
35 lines
731 B
C++
#ifndef EE_SYSTEM_FUNCTIONSTRING_HPP
|
|
#define EE_SYSTEM_FUNCTIONSTRING_HPP
|
|
|
|
#include <eepp/config.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace EE { namespace System {
|
|
|
|
class EE_API FunctionString {
|
|
public:
|
|
static FunctionString parse( const std::string& function );
|
|
|
|
FunctionString( const std::string& name, const std::vector<std::string>& parameters,
|
|
const std::vector<bool>& typeStringData );
|
|
|
|
const std::string& getName() const;
|
|
|
|
const std::vector<std::string>& getParameters() const;
|
|
|
|
bool parameterWasString( const Uint32& index ) const;
|
|
|
|
bool isEmpty() const;
|
|
|
|
protected:
|
|
std::string name;
|
|
|
|
std::vector<std::string> parameters;
|
|
std::vector<bool> typeStringData;
|
|
};
|
|
|
|
}} // namespace EE::System
|
|
|
|
#endif
|