Skip to content

Commit

Permalink
[mkcal] add event purge api to dummystorage too. Contributes to MER#2070
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Dec 19, 2019
1 parent c3dc875 commit 13ff537
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/dummystorage.h
Expand Up @@ -61,6 +61,9 @@ class MKCAL_EXPORT DummyStorage : public mKCal::ExtendedStorage
void calendarIncidenceAdditionCanceled(const KCalCore::Incidence::Ptr &)
{
}
bool purgeDeletedIncidences(const KCalCore::Incidence::List &)
{
}

/**
@copydoc
Expand Down Expand Up @@ -88,6 +91,10 @@ class MKCAL_EXPORT DummyStorage : public mKCal::ExtendedStorage
{
return true;
}
bool save(DeleteAction)
{
return true;
}
bool close()
{
return true;
Expand Down

0 comments on commit 13ff537

Please sign in to comment.