diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/sbkdate.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/sbkdate.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/sbkdate.h b/sources/shiboken6/tests/libsample/sbkdate.h new file mode 100644 index 000000000..5e1dd0b84 --- /dev/null +++ b/sources/shiboken6/tests/libsample/sbkdate.h @@ -0,0 +1,24 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef SBKDATE_H +#define SBKDATE_H + +#include "libsamplemacros.h" + +class LIBSAMPLE_API SbkDate +{ +public: + explicit SbkDate(int d, int m, int y); + + int day() const; + int month() const; + int year() const; + +private: + int m_d; + int m_m; + int m_y; +}; + +#endif // SBKDATE_H |