File indexing completed on 2024-11-24 04:50:40

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