[gnote] Expose set_change_type to tests
- From: Aurimas ÄŒernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Expose set_change_type to tests
- Date: Sun, 19 Aug 2018 14:04:22 +0000 (UTC)
commit b3d01fda14ce973a75e6313baf583a89195523eb
Author: Aurimas ÄŒernius <aurisc4 gmail com>
Date: Sun Aug 19 17:02:27 2018 +0300
Expose set_change_type to tests
src/test/testnote.cpp | 7 ++++++-
src/test/testnote.hpp | 3 ++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/test/testnote.cpp b/src/test/testnote.cpp
index 22e2ae4d..e2c40652 100644
--- a/src/test/testnote.cpp
+++ b/src/test/testnote.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2014 Aurimas Cernius
+ * Copyright (C) 2014,2018 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -38,5 +38,10 @@ gnote::NoteDataBufferSynchronizerBase & Note::data_synchronizer()
return m_data_synchronizer;
}
+void Note::set_change_type(gnote::ChangeType c)
+{
+ gnote::NoteBase::set_change_type(c);
+}
+
}
diff --git a/src/test/testnote.hpp b/src/test/testnote.hpp
index ecbfa99b..9da0e58e 100644
--- a/src/test/testnote.hpp
+++ b/src/test/testnote.hpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2014 Aurimas Cernius
+ * Copyright (C) 2014,2018 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@ class Note
{
public:
Note(gnote::NoteData *_data, const Glib::ustring & filepath, gnote::NoteManagerBase & manager);
+ void set_change_type(gnote::ChangeType c);
protected:
virtual const gnote::NoteDataBufferSynchronizerBase & data_synchronizer() const;
virtual gnote::NoteDataBufferSynchronizerBase & data_synchronizer();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]