Akonadi Contacts

attributeregistrar.cpp
1 /*
2  This file is part of Akonadi Contact.
3 
4  SPDX-FileCopyrightText: 2009 Constantin Berzan <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "attributes/contactmetadataattribute_p.h"
10 
11 #include <attributefactory.h>
12 
13 namespace
14 {
15 // Anonymous namespace; function is invisible outside this file.
16 bool dummy()
17 {
18  using namespace Akonadi;
19  AttributeFactory::registerAttribute<ContactMetaDataAttribute>();
20  return true;
21 }
22 
23 // Called when this library is loaded.
24 const bool registered = dummy();
25 } // namespace
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jun 23 2021 23:09:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.