File indexing completed on 2024-12-15 04:51:46
0001 /* 0002 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #include "notealarmattribute.h" 0007 #include "notedisplayattribute.h" 0008 #include "notelockattribute.h" 0009 #include "showfoldernotesattribute.h" 0010 0011 #include <Akonadi/AttributeFactory> 0012 0013 namespace 0014 { 0015 // Anonymous namespace; function is invisible outside this file. 0016 bool dummy() 0017 { 0018 Akonadi::AttributeFactory::registerAttribute<NoteShared::NoteDisplayAttribute>(); 0019 Akonadi::AttributeFactory::registerAttribute<NoteShared::NoteAlarmAttribute>(); 0020 Akonadi::AttributeFactory::registerAttribute<NoteShared::NoteLockAttribute>(); 0021 Akonadi::AttributeFactory::registerAttribute<NoteShared::ShowFolderNotesAttribute>(); 0022 return true; 0023 } 0024 0025 // Called when this library is loaded. 0026 const bool registered = dummy(); 0027 } // namespace