Updated Guisan to latest version

This commit is contained in:
Dimitris Panokostas 2019-08-17 14:36:57 +02:00
parent 8fc9e90e31
commit 6dbfa038b6
114 changed files with 15591 additions and 15404 deletions

View file

@ -63,36 +63,36 @@
namespace gcn
{
/**
* Represents a list. It is used in certain Widgets, like the ListBox, to
* handle a list with string elements. If you want to use Widgets like
* ListBox, you should inherit from this class and implement it's
* functions.
*/
class GCN_CORE_DECLSPEC ListModel
{
public:
/**
* Destructor.
*/
virtual ~ListModel()
= default;
/**
* Represents a list. It is used in certain Widgets, like the ListBox, to
* handle a list with string elements. If you want to use Widgets like
* ListBox, you should inherit from this class and implement it's
* functions.
*/
class GCN_CORE_DECLSPEC ListModel
{
/**
* Gets the number of elements in the ListModel.
*
* @return the number of elements in the ListModel
*/
virtual int getNumberOfElements() = 0;
public:
/**
* Destructor.
*/
virtual ~ListModel() { }
/**
* Gets an element at a certain index in the list.
*
* @param i an index in the list.
* @return an element as a string.
*/
virtual std::string getElementAt(int i) = 0;
};
/**
* Gets the number of elements in the ListModel.
*
* @return the number of elements in the ListModel
*/
virtual int getNumberOfElements() = 0;
/**
* Gets an element at a certain index in the list.
*
* @param i an index in the list.
* @return an element as a string.
*/
virtual std::string getElementAt(int i) = 0;
};
}
#endif // end GCN_LISTMODEL_HPP