\hypertarget{a00308}{\section{Backup\+Interface Class Reference}
\label{a00308}\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]{a00308}
\end{center}
\end{figure}
\subsection*{Interface definition for general Plugins}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a00308_a9fbd0ffaeb95aa9bb2bc508e606501b6}{create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_a9e8c3f0962b57a71e34d81cbe5a26146}{create\+Backup} (\hyperlink{a02488_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{a01393}{Update\+Type} $>$ \+\_\+types)
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a group backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_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{a00308_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{a00308_ab1eb32ddefd829029c1c4222feda9842}{undo} ()
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to undo the last action. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_aae94a5b7d3b9ddcd5a7bb3626074d4f7}{redo} ()
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to redo the last action. \end{DoxyCompactList}\item 
\hypertarget{a00308_a3545a3052a793ccda0d66042e1f1d202}{virtual \hyperlink{a00308_a3545a3052a793ccda0d66042e1f1d202}{$\sim$\+Backup\+Interface} ()}\label{a00308_a3545a3052a793ccda0d66042e1f1d202}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_ab081a9310e5f164192cedd3a5e2616ab}{slot\+Create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})
\begin{DoxyCompactList}\small\item\em Backup for an object requested. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_a3997544a08fb0719f01d99a8aed1df59}{slot\+Create\+Backup} (\hyperlink{a02488_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{a01393}{Update\+Type} $>$ \+\_\+types)
\begin{DoxyCompactList}\small\item\em Backup for an object requested. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_a7af78b46b21dfcac5e94464417257372}{slot\+About\+To\+Restore} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em A given object will be restored. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_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't need to use these funcions). \begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a00308_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{a00308_ad8212a5ba2e82c2002ca224233b9ade6}{generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type)
\begin{DoxyCompactList}\small\item\em This signal is emitted by a \hyperlink{a00309}{Backup\+Plugin} and tells a Type\+Plugin to generate a backup. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_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{a00308_aa5ec2c50ce5ac6d7362f9141d37ac570}{slot\+Undo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Undo the last action of an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_a69010bb286ebd176cff478d55e7f4b10}{slot\+Redo} (int \+\_\+objectid)
\begin{DoxyCompactList}\small\item\em Redo the last action on an object. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_ae1b1ffaa7b7d790270e7dcbd5efff862}{slot\+Undo} ()
\begin{DoxyCompactList}\small\item\em Undo the last action. \end{DoxyCompactList}\item 
virtual void \hyperlink{a00308_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 75 of file Backup\+Interface.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00308_a36be00babcf477cc22255719943a2452}{\index{Backup\+Interface@{Backup\+Interface}!about\+To\+Restore@{about\+To\+Restore}}
\index{about\+To\+Restore@{about\+To\+Restore}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{about\+To\+Restore}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::about\+To\+Restore (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}}\label{a00308_a36be00babcf477cc22255719943a2452}


Backup Plugin tells other Plugins that a restore will happen. 



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

\hypertarget{a00308_a9fbd0ffaeb95aa9bb2bc508e606501b6}{\index{Backup\+Interface@{Backup\+Interface}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{create\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::create\+Backup (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid, }
\item[{Q\+String}]{\+\_\+name, }
\item[{{\bf Update\+Type}}]{\+\_\+type = {\ttfamily {\bf U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}}\label{a00308_a9fbd0ffaeb95aa9bb2bc508e606501b6}


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\+O\+N) \\
\hline
\end{DoxyParams}


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



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

\hypertarget{a00308_a9e8c3f0962b57a71e34d81cbe5a26146}{\index{Backup\+Interface@{Backup\+Interface}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{create\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::create\+Backup (
\begin{DoxyParamCaption}
\item[{{\bf Id\+List}}]{\+\_\+objectids, }
\item[{Q\+String}]{\+\_\+name, }
\item[{std\+::vector$<$ {\bf Update\+Type} $>$}]{\+\_\+types}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_a9e8c3f0962b57a71e34d81cbe5a26146}


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\+O\+N) \\
\hline
\end{DoxyParams}


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

\hypertarget{a00308_ad8212a5ba2e82c2002ca224233b9ade6}{\index{Backup\+Interface@{Backup\+Interface}!generate\+Backup@{generate\+Backup}}
\index{generate\+Backup@{generate\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{generate\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::generate\+Backup (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+id, }
\item[{Q\+String}]{\+\_\+name, }
\item[{{\bf Update\+Type}}]{\+\_\+type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}}\label{a00308_ad8212a5ba2e82c2002ca224233b9ade6}


This signal is emitted by a \hyperlink{a00309}{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 264 of file Backup\+Interface.\+hh.

\hypertarget{a00308_a3d716b85310573b344550f6aa8eba108}{\index{Backup\+Interface@{Backup\+Interface}!redo@{redo}}
\index{redo@{redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{redo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::redo (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_a3d716b85310573b344550f6aa8eba108}


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 123 of file Backup\+Interface.\+hh.

\hypertarget{a00308_aae94a5b7d3b9ddcd5a7bb3626074d4f7}{\index{Backup\+Interface@{Backup\+Interface}!redo@{redo}}
\index{redo@{redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{redo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_aae94a5b7d3b9ddcd5a7bb3626074d4f7}


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 137 of file Backup\+Interface.\+hh.

\hypertarget{a00308_a03592973219f2b06d4fa9fbc392f5876}{\index{Backup\+Interface@{Backup\+Interface}!restored@{restored}}
\index{restored@{restored}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{restored}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::restored (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_a03592973219f2b06d4fa9fbc392f5876}


Backup Plugin tells other Plugins that a restore has happened. 



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

\hypertarget{a00308_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[{slot\+About\+To\+Restore}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+About\+To\+Restore (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_a7af78b46b21dfcac5e94464417257372}


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 174 of file Backup\+Interface.\+hh.

\hypertarget{a00308_ab081a9310e5f164192cedd3a5e2616ab}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Create\+Backup@{slot\+Create\+Backup}}
\index{slot\+Create\+Backup@{slot\+Create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Create\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Create\+Backup (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid, }
\item[{Q\+String}]{\+\_\+name, }
\item[{{\bf Update\+Type}}]{\+\_\+type = {\ttfamily {\bf U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}}\label{a00308_ab081a9310e5f164192cedd3a5e2616ab}


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 150 of file Backup\+Interface.\+hh.

\hypertarget{a00308_a3997544a08fb0719f01d99a8aed1df59}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Create\+Backup@{slot\+Create\+Backup}}
\index{slot\+Create\+Backup@{slot\+Create\+Backup}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Create\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Create\+Backup (
\begin{DoxyParamCaption}
\item[{{\bf Id\+List}}]{\+\_\+objectids, }
\item[{Q\+String}]{\+\_\+name, }
\item[{std\+::vector$<$ {\bf Update\+Type} $>$}]{\+\_\+types}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_a3997544a08fb0719f01d99a8aed1df59}


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 161 of file Backup\+Interface.\+hh.

\hypertarget{a00308_a69010bb286ebd176cff478d55e7f4b10}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Redo@{slot\+Redo}}
\index{slot\+Redo@{slot\+Redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Redo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Redo (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_a69010bb286ebd176cff478d55e7f4b10}


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 236 of file Backup\+Interface.\+hh.

\hypertarget{a00308_ad22291b420f0fd78860200459e7bfc4c}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Redo@{slot\+Redo}}
\index{slot\+Redo@{slot\+Redo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Redo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_ad22291b420f0fd78860200459e7bfc4c}


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 254 of file Backup\+Interface.\+hh.

\hypertarget{a00308_afc886c900fcda4e0bddf8483b0ccb151}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Restored@{slot\+Restored}}
\index{slot\+Restored@{slot\+Restored}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Restored}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Restored (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_afc886c900fcda4e0bddf8483b0ccb151}


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 185 of file Backup\+Interface.\+hh.

\hypertarget{a00308_aa5ec2c50ce5ac6d7362f9141d37ac570}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Undo@{slot\+Undo}}
\index{slot\+Undo@{slot\+Undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Undo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Undo (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}}\label{a00308_aa5ec2c50ce5ac6d7362f9141d37ac570}


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 226 of file Backup\+Interface.\+hh.

\hypertarget{a00308_ae1b1ffaa7b7d790270e7dcbd5efff862}{\index{Backup\+Interface@{Backup\+Interface}!slot\+Undo@{slot\+Undo}}
\index{slot\+Undo@{slot\+Undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{slot\+Undo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::slot\+Undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a00308_ae1b1ffaa7b7d790270e7dcbd5efff862}


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 245 of file Backup\+Interface.\+hh.

\hypertarget{a00308_a670586bc8351ce57b47997ce18d1b0c9}{\index{Backup\+Interface@{Backup\+Interface}!undo@{undo}}
\index{undo@{undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{undo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::undo (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_a670586bc8351ce57b47997ce18d1b0c9}


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 115 of file Backup\+Interface.\+hh.

\hypertarget{a00308_ab1eb32ddefd829029c1c4222feda9842}{\index{Backup\+Interface@{Backup\+Interface}!undo@{undo}}
\index{undo@{undo}!Backup\+Interface@{Backup\+Interface}}
\subsubsection[{undo}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Backup\+Interface\+::undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00308_ab1eb32ddefd829029c1c4222feda9842}


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 130 of file Backup\+Interface.\+hh.



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