Warning, file /pim/mailcommon/src/collectionpage/attributeregistrar.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "collectionpage/attributes/expirecollectionattribute.h"
0008 #include <Akonadi/NewMailNotifierAttribute>
0009 
0010 #include <Akonadi/AttributeFactory>
0011 
0012 namespace
0013 {
0014 // Anonymous namespace; function is invisible outside this file.
0015 bool dummy()
0016 {
0017     Akonadi::AttributeFactory::registerAttribute<MailCommon::ExpireCollectionAttribute>();
0018     Akonadi::AttributeFactory::registerAttribute<Akonadi::NewMailNotifierAttribute>();
0019     return true;
0020 }
0021 
0022 // Called when this library is loaded.
0023 const bool registered = dummy();
0024 } // namespace