-rw-r--r-- | libkcal/dndfactory.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libkcal/dndfactory.h b/libkcal/dndfactory.h index 7e2ca04..2df5259 100644 --- a/libkcal/dndfactory.h +++ b/libkcal/dndfactory.h | |||
@@ -18,12 +18,14 @@ | |||
18 | You should have received a copy of the GNU Library General Public License | 18 | You should have received a copy of the GNU Library General Public License |
19 | along with this library; see the file COPYING.LIB. If not, write to | 19 | along with this library; see the file COPYING.LIB. If not, write to |
20 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 20 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
21 | Boston, MA 02111-1307, USA. | 21 | Boston, MA 02111-1307, USA. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifdef DESKTOP_VERSION | ||
25 | |||
24 | #ifndef KCAL_DNDFACTORY_H | 26 | #ifndef KCAL_DNDFACTORY_H |
25 | #define KCAL_DNDFACTORY_H | 27 | #define KCAL_DNDFACTORY_H |
26 | 28 | ||
27 | //#include "libkcal_export.h" | 29 | //#include "libkcal_export.h" |
28 | 30 | ||
29 | namespace KCal { | 31 | namespace KCal { |
@@ -69,6 +71,13 @@ class LIBKCAL_EXPORT DndFactory | |||
69 | Private *d; | 71 | Private *d; |
70 | }; | 72 | }; |
71 | 73 | ||
72 | } | 74 | } |
73 | 75 | ||
74 | #endif | 76 | #endif |
77 | |||
78 | #else // dummy implementation for embedded | ||
79 | #include "dndfactory_dummy.h" | ||
80 | #define cutIncidence cutEvent | ||
81 | #define pasteIncidence pasteEvent | ||
82 | #define copyIncidence copyEvent | ||
83 | #endif | ||