Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'dummy_storage_purge' into 'master'
[mkcal] add event purge api to dummystorage too. Contributes to MER#2070

See merge request mer-core/mkcal!32
  • Loading branch information
pvuorela committed Dec 19, 2019
2 parents c3dc875 + 13ff537 commit 65a681c
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 65a681c

Please sign in to comment.