1 | /* |
2 | This file is part of the KDE project |
3 | SPDX-FileCopyrightText: 1998, 1999 Torben Weis <weis@kde.org> |
4 | SPDX-FileCopyrightText: 2006 Daniel Teske <teske@squorn.de> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.0-or-later |
7 | */ |
8 | |
9 | #ifndef KBOOKMARKACTIONINTERFACE_H |
10 | #define KBOOKMARKACTIONINTERFACE_H |
11 | |
12 | #include "kbookmark.h" |
13 | |
14 | /** |
15 | * @class KBookmarkActionInterface kbookmarkactioninterface.h KBookmarkActionInterface |
16 | * |
17 | * The interface to implement by actions and menus which represent a bookimark |
18 | */ |
19 | class KBOOKMARKS_EXPORT KBookmarkActionInterface |
20 | { |
21 | public: |
22 | explicit KBookmarkActionInterface(const KBookmark &bk); |
23 | virtual ~KBookmarkActionInterface(); |
24 | const KBookmark bookmark() const; |
25 | |
26 | private: |
27 | const KBookmark bm; |
28 | }; |
29 | |
30 | #endif |
31 | |