#ifndef ADS_INTERNAL_HEADER #define ADS_INTERNAL_HEADER #include #include #include "ads/API.h" #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) #else #include "ads/SectionContent.h" #endif #define SCLookupMapById(X) X->_scLookupMapById #define SCLookupMapByName(X) X->_scLookupMapByName #define SWLookupMapById(X) X->_swLookupMapById ADS_NAMESPACE_BEGIN class SectionContent; class SectionTitleWidget; class SectionContentWidget; class InternalContentData { public: typedef QSharedPointer RefPtr; typedef QWeakPointer WeakPtr; InternalContentData(); ~InternalContentData(); QSharedPointer content; SectionTitleWidget* titleWidget; SectionContentWidget* contentWidget; }; class HiddenSectionItem { public: HiddenSectionItem() : preferredSectionId(-1), preferredSectionIndex(-1) {} int preferredSectionId; int preferredSectionIndex; InternalContentData data; }; ADS_NAMESPACE_END #endif