mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-12 15:57:12 +01:00
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
48 lines
830 B
C++
48 lines
830 B
C++
//
|
|
// DynamicDateTime.h
|
|
//
|
|
// Library: Data
|
|
// Package: DataCore
|
|
// Module: DynamicDateTime
|
|
//
|
|
// Definition of the Date and Time cast operators for Poco::Dynamic::Var.
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Data_DynamicDateTime_INCLUDED
|
|
#define Data_DynamicDateTime_INCLUDED
|
|
|
|
|
|
#include "Poco/Data/Data.h"
|
|
#include "Poco/Data/Date.h"
|
|
#include "Poco/Data/Time.h"
|
|
#include "Poco/Dynamic/Var.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace Data {
|
|
|
|
class Date;
|
|
class Time;
|
|
|
|
} } // namespace Poco::Data
|
|
|
|
|
|
namespace Poco {
|
|
namespace Dynamic {
|
|
|
|
|
|
template <> Data_API Var::operator Poco::Data::Date () const;
|
|
template <> Data_API Var::operator Poco::Data::Time () const;
|
|
|
|
|
|
} } // namespace Poco::Dynamic
|
|
|
|
|
|
#endif // Data_DynamicDateTime_INCLUDED
|