\hypertarget{classBackupInterface}{}\section{Backup\+Interface Class Reference}
\label{classBackupInterface}\index{Backup\+Interface@{Backup\+Interface}}


Interface class for backup handling.  




{\ttfamily \#include $<$Open\+Flipper/\+Base\+Plugin/\+Backup\+Interface.\+hh$>$}

Inheritance diagram for Backup\+Interface\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{classBackupInterface}
\end{center}
\end{figure}
\subsection*{Interface definition for general Plugins}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classBackupInterface_a9fbd0ffaeb95aa9bb2bc508e606501b6}{create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{classUpdateType}{Update\+Type} \+\_\+type=\hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a9e8c3f0962b57a71e34d81cbe5a26146}{create\+Backup} (\hyperlink{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{classUpdateType}{Update\+Type} $>$ \+\_\+types)
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a group backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a670586bc8351ce57b47997ce18d1b0c9}{undo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to undo the last action of an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a3d716b85310573b344550f6aa8eba108}{redo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to redo the last action on an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_ab1eb32ddefd829029c1c4222feda9842}{undo} ()
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to undo the last action. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_aae94a5b7d3b9ddcd5a7bb3626074d4f7}{redo} ()
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to redo the last action. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classBackupInterface_a3545a3052a793ccda0d66042e1f1d202}\label{classBackupInterface_a3545a3052a793ccda0d66042e1f1d202}} 
virtual \hyperlink{classBackupInterface_a3545a3052a793ccda0d66042e1f1d202}{$\sim$\+Backup\+Interface} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_ab081a9310e5f164192cedd3a5e2616ab}{slot\+Create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{classUpdateType}{Update\+Type} \+\_\+type=\hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\begin{DoxyCompactList}\small\item\em Backup for an object requested. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a3997544a08fb0719f01d99a8aed1df59}{slot\+Create\+Backup} (\hyperlink{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{classUpdateType}{Update\+Type} $>$ \+\_\+types)
\begin{DoxyCompactList}\small\item\em Backup for an object requested. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a7af78b46b21dfcac5e94464417257372}{slot\+About\+To\+Restore} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em A given object will be restored. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_afc886c900fcda4e0bddf8483b0ccb151}{slot\+Restored} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Object fully restored. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Interface definition for Backup Plugins}
\label{_amgrp37174e210fe922ae021d93abd5d957fb}%
 These signals and slots have to be implemented if you create a plugin managing Backups ( A Backup plugin is already provided by Open\+Flipper so you don\textquotesingle{}t need to use these funcions). \begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classBackupInterface_a36be00babcf477cc22255719943a2452}{about\+To\+Restore} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Backup Plugin tells other Plugins that a restore will happen. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_ad8212a5ba2e82c2002ca224233b9ade6}{generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{classUpdateType}{Update\+Type} \+\_\+type)
\begin{DoxyCompactList}\small\item\em This signal is emitted by a \hyperlink{classBackupPlugin}{Backup\+Plugin} and tells a Type\+Plugin to generate a backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a03592973219f2b06d4fa9fbc392f5876}{restored} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Backup Plugin tells other Plugins that a restore has happened. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_aa5ec2c50ce5ac6d7362f9141d37ac570}{slot\+Undo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Undo the last action of an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_a69010bb286ebd176cff478d55e7f4b10}{slot\+Redo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Redo the last action on an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_ae1b1ffaa7b7d790270e7dcbd5efff862}{slot\+Undo} ()
\begin{DoxyCompactList}\small\item\em Undo the last action. \end{DoxyCompactList}\item 
virtual void \hyperlink{classBackupInterface_ad22291b420f0fd78860200459e7bfc4c}{slot\+Redo} ()
\begin{DoxyCompactList}\small\item\em Redo the last action. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface class for backup handling. 

\hyperlink{backupInterfacePage}{Detailed description} ~\newline
 This interface defines functions to implement backup and restore for objects or object groups. 

Definition at line 59 of file Backup\+Interface.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classBackupInterface_a36be00babcf477cc22255719943a2452}\label{classBackupInterface_a36be00babcf477cc22255719943a2452}} 
\index{Backup\+Interface@{Backup\+Interface}!about\+To\+Restore@{about\+To\+Restore}}
\index{about\+To\+Restore@{about\+To\+Restore}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{about\+To\+Restore}{aboutToRestore}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::about\+To\+Restore (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}



Backup Plugin tells other Plugins that a restore will happen. 



Definition at line 191 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a9fbd0ffaeb95aa9bb2bc508e606501b6}\label{classBackupInterface_a9fbd0ffaeb95aa9bb2bc508e606501b6}} 
\index{Backup\+Interface@{Backup\+Interface}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{create\+Backup}{createBackup}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::create\+Backup (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid,  }\item[{Q\+String}]{\+\_\+name,  }\item[{\hyperlink{classUpdateType}{Update\+Type}}]{\+\_\+type = {\ttfamily \hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}



Tell Backup Plugin to create a backup. 

Plugins which supports backups can call this function if they want to create backups.~\newline
A Backup control Plugin will do the rest.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to create the backup \\
\hline
{\em \+\_\+name} & Name of the Backup, to show the user what can be recovered \\
\hline
{\em \+\_\+type} & The type of the backup (e.\+g. U\+P\+D\+A\+T\+E\+\_\+\+S\+E\+L\+E\+C\+T\+I\+ON) \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{classBackupPlugin_a23ca8f00e652a2d0086441386e7bb4dc}{Backup\+Plugin}.



Definition at line 77 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a9e8c3f0962b57a71e34d81cbe5a26146}\label{classBackupInterface_a9e8c3f0962b57a71e34d81cbe5a26146}} 
\index{Backup\+Interface@{Backup\+Interface}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{create\+Backup()}{createBackup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::create\+Backup (\begin{DoxyParamCaption}\item[{\hyperlink{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List}}]{\+\_\+objectids,  }\item[{Q\+String}]{\+\_\+name,  }\item[{std\+::vector$<$ \hyperlink{classUpdateType}{Update\+Type} $>$}]{\+\_\+types }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Tell Backup Plugin to create a group backup. 

Plugins which supports backups can call this function if they want to create group backups.~\newline
The backups specified here will be grouped together. They can only be reverted as one block and not one by one. They combine backups on multiple objects to a single backup set.

A Backup control Plugin will do the rest.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectids} & Identifier of the object to create the backup \\
\hline
{\em \+\_\+name} & Name of the Backup, to show the user what can be recovered \\
\hline
{\em \+\_\+types} & The types of the backups (e.\+g. U\+P\+D\+A\+T\+E\+\_\+\+S\+E\+L\+E\+C\+T\+I\+ON) \\
\hline
\end{DoxyParams}


Definition at line 91 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_ad8212a5ba2e82c2002ca224233b9ade6}\label{classBackupInterface_ad8212a5ba2e82c2002ca224233b9ade6}} 
\index{Backup\+Interface@{Backup\+Interface}!generate\+Backup@{generate\+Backup}}
\index{generate\+Backup@{generate\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{generate\+Backup}{generateBackup}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::generate\+Backup (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+name,  }\item[{\hyperlink{classUpdateType}{Update\+Type}}]{\+\_\+type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}



This signal is emitted by a \hyperlink{classBackupPlugin}{Backup\+Plugin} and tells a Type\+Plugin to generate a backup. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the added object \\
\hline
{\em \+\_\+name} & Name of the backup to generate \\
\hline
{\em \+\_\+type} & the type of backup that needs to be done \\
\hline
\end{DoxyParams}


Definition at line 248 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a3d716b85310573b344550f6aa8eba108}\label{classBackupInterface_a3d716b85310573b344550f6aa8eba108}} 
\index{Backup\+Interface@{Backup\+Interface}!redo@{redo}}
\index{redo@{redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{redo()}{redo()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::redo (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Tell Backup Plugin to redo the last action on an object. 

Plugins which supports backups can call this function if they want to restore backups.~\newline
A Backup control Plugin will do the rest. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to restore \\
\hline
\end{DoxyParams}


Definition at line 107 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_aae94a5b7d3b9ddcd5a7bb3626074d4f7}\label{classBackupInterface_aae94a5b7d3b9ddcd5a7bb3626074d4f7}} 
\index{Backup\+Interface@{Backup\+Interface}!redo@{redo}}
\index{redo@{redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{redo()}{redo()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::redo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Tell Backup Plugin to redo the last action. 

Plugins which supports backups can call this function if they want to restore backups.~\newline
A Backup control Plugin will do the rest. 

Definition at line 121 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a03592973219f2b06d4fa9fbc392f5876}\label{classBackupInterface_a03592973219f2b06d4fa9fbc392f5876}} 
\index{Backup\+Interface@{Backup\+Interface}!restored@{restored}}
\index{restored@{restored}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{restored()}{restored()}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::restored (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Backup Plugin tells other Plugins that a restore has happened. 



Definition at line 196 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a7af78b46b21dfcac5e94464417257372}\label{classBackupInterface_a7af78b46b21dfcac5e94464417257372}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+About\+To\+Restore@{slot\+About\+To\+Restore}}
\index{slot\+About\+To\+Restore@{slot\+About\+To\+Restore}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+About\+To\+Restore()}{slotAboutToRestore()}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+About\+To\+Restore (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



A given object will be restored. 

This function is called before an object is restored from a backup. per\+Object\+Datas and the object will be reset to the backup state after this function is called for all plugins.

If you have any pointers or references to the given object you have to clean them up here.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object which is about to be restored \\
\hline
\end{DoxyParams}


Definition at line 158 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_ab081a9310e5f164192cedd3a5e2616ab}\label{classBackupInterface_ab081a9310e5f164192cedd3a5e2616ab}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Create\+Backup@{slot\+Create\+Backup}}
\index{slot\+Create\+Backup@{slot\+Create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Create\+Backup}{slotCreateBackup}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Create\+Backup (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid,  }\item[{Q\+String}]{\+\_\+name,  }\item[{\hyperlink{classUpdateType}{Update\+Type}}]{\+\_\+type = {\ttfamily \hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}



Backup for an object requested. 

This function will be called if a plugin requests a backup. You can also react on this event if you reimplement this function in your plugin.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to create the backup \\
\hline
{\em \+\_\+name} & Name of the Backup, to show the user what can be recovered \\
\hline
{\em \+\_\+type} & What has been updated (This can be used to restrict the backup to certain parts of the object) \\
\hline
\end{DoxyParams}


Definition at line 134 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a3997544a08fb0719f01d99a8aed1df59}\label{classBackupInterface_a3997544a08fb0719f01d99a8aed1df59}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Create\+Backup@{slot\+Create\+Backup}}
\index{slot\+Create\+Backup@{slot\+Create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Create\+Backup()}{slotCreateBackup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Create\+Backup (\begin{DoxyParamCaption}\item[{\hyperlink{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List}}]{\+\_\+objectids,  }\item[{Q\+String}]{\+\_\+name,  }\item[{std\+::vector$<$ \hyperlink{classUpdateType}{Update\+Type} $>$}]{\+\_\+types }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Backup for an object requested. 

This function will be called if a plugin requests a backup. You can also react on this event if you reimplement this function in your plugin.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectids} & Identifiers of the object to create the backup \\
\hline
{\em \+\_\+name} & Name of the Backup, to show the user what can be recovered \\
\hline
{\em \+\_\+types} & What has been updated (This can be used to restrict the backup to certain parts of the objects) \\
\hline
\end{DoxyParams}


Definition at line 145 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a69010bb286ebd176cff478d55e7f4b10}\label{classBackupInterface_a69010bb286ebd176cff478d55e7f4b10}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Redo@{slot\+Redo}}
\index{slot\+Redo@{slot\+Redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Redo()}{slotRedo()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Redo (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Redo the last action on an object. 

This function has to be implemented in the backup management plugin. Normally this function is provided by the default backup plugin and should not be used! To restore data in your plugin use the slot\+Restore above.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to restore \\
\hline
\end{DoxyParams}


Definition at line 220 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_ad22291b420f0fd78860200459e7bfc4c}\label{classBackupInterface_ad22291b420f0fd78860200459e7bfc4c}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Redo@{slot\+Redo}}
\index{slot\+Redo@{slot\+Redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Redo()}{slotRedo()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Redo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Redo the last action. 

This function has to be implemented in the backup management plugin. Normally this function is provided by the default backup plugin and should not be used! To restore data in your plugin use the slot\+Restore above. 

Definition at line 238 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_afc886c900fcda4e0bddf8483b0ccb151}\label{classBackupInterface_afc886c900fcda4e0bddf8483b0ccb151}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Restored@{slot\+Restored}}
\index{slot\+Restored@{slot\+Restored}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Restored()}{slotRestored()}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Restored (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Object fully restored. 

This function is called after an object and all data from other plugins is restored from a backup.

per\+Object\+Datas and the object have been reset to the backup state.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object which is about to be restored \\
\hline
\end{DoxyParams}


Definition at line 169 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_aa5ec2c50ce5ac6d7362f9141d37ac570}\label{classBackupInterface_aa5ec2c50ce5ac6d7362f9141d37ac570}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Undo@{slot\+Undo}}
\index{slot\+Undo@{slot\+Undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Undo}{slotUndo}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Undo (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}



Undo the last action of an object. 

This function has to be implemented in the backup management plugin. Normally this function is provided by the default backup plugin and should not be used! To restore data in your plugin use the slot\+Restore above.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to restore \\
\hline
\end{DoxyParams}


Definition at line 210 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_ae1b1ffaa7b7d790270e7dcbd5efff862}\label{classBackupInterface_ae1b1ffaa7b7d790270e7dcbd5efff862}} 
\index{Backup\+Interface@{Backup\+Interface}!slot\+Undo@{slot\+Undo}}
\index{slot\+Undo@{slot\+Undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{slot\+Undo()}{slotUndo()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::slot\+Undo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Undo the last action. 

This function has to be implemented in the backup management plugin. Normally this function is provided by the default backup plugin and should not be used! To restore data in your plugin use the slot\+Restore above. 

Definition at line 229 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_a670586bc8351ce57b47997ce18d1b0c9}\label{classBackupInterface_a670586bc8351ce57b47997ce18d1b0c9}} 
\index{Backup\+Interface@{Backup\+Interface}!undo@{undo}}
\index{undo@{undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{undo()}{undo()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::undo (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Tell Backup Plugin to undo the last action of an object. 

Plugins which supports backups can call this function if they want to restore backups.~\newline
A Backup control Plugin will do the rest. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to restore \\
\hline
\end{DoxyParams}


Definition at line 99 of file Backup\+Interface.\+hh.

\mbox{\Hypertarget{classBackupInterface_ab1eb32ddefd829029c1c4222feda9842}\label{classBackupInterface_ab1eb32ddefd829029c1c4222feda9842}} 
\index{Backup\+Interface@{Backup\+Interface}!undo@{undo}}
\index{undo@{undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection{\texorpdfstring{undo()}{undo()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Backup\+Interface\+::undo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Tell Backup Plugin to undo the last action. 

Plugins which supports backups can call this function if they want to restore backups.~\newline
A Backup control Plugin will do the rest. 

Definition at line 114 of file Backup\+Interface.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Base\+Plugin/\hyperlink{BackupInterface_8hh}{Backup\+Interface.\+hh}\end{DoxyCompactItemize}
