\hypertarget{group__Eldbus__FDO__Properties}{\section{org.\+freedesktop.\+D\+Bus.\+Properties}
\label{group__Eldbus__FDO__Properties}\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__FDO__Properties_gaa2a20ccdb8dfe3fae539c9366eac9fb5}{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} enable)
\begin{DoxyCompactList}\small\item\em Enable or disable local cache of properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_gaa1d2c82ea9765c6e1ca9d51f50afb61a}{eldbus\+\_\+proxy\+\_\+property\+\_\+get} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, const char $\ast$name, \hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb} cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Get a property. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_ga87a88f3b4119fb332210f15c3d9c2315}{eldbus\+\_\+proxy\+\_\+property\+\_\+set} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, const char $\ast$name, const char $\ast$sig, const void $\ast$value, \hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb} cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set a property. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_ga5652d33e39e864e44e514d6708870ec6}{eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, \hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb} cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Get all properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_ga8d5c36782d4e8b9e334c4557e2cbb40f}{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, \hyperlink{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}{Eldbus\+\_\+\+Signal\+\_\+\+Cb} cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Register a callback on \char`\"{}\+Properties\+Changed\char`\"{} signal. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_ga07e236d5f577453308c1f80e48f1d2a3}{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Return the cached value of property. \end{DoxyCompactList}\item 
const \hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash} $\ast$ \hyperlink{group__Eldbus__FDO__Properties_gaac2c9a7c4ef0084c17f04ea854ee4d54}{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all} (\hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy} $\ast$proxy)
\begin{DoxyCompactList}\small\item\em Get all cached properties. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\hypertarget{group__Eldbus__FDO__Properties_gaa2a20ccdb8dfe3fae539c9366eac9fb5}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor@{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor}}
\index{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor@{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{{\bf Eina\+\_\+\+Bool}}]{enable}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_gaa2a20ccdb8dfe3fae539c9366eac9fb5}


Enable or disable local cache of properties. 

After enable you can call \hyperlink{group__Eldbus__FDO__Properties_ga07e236d5f577453308c1f80e48f1d2a3}{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get()} or \hyperlink{group__Eldbus__FDO__Properties_gaac2c9a7c4ef0084c17f04ea854ee4d54}{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all()} to get cached properties.


\begin{DoxyParams}{Parameters}
{\em proxy} & bus+path+interface that the properties belong \\
\hline
{\em enable} & enable or disable properties monitor \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E if already have cached properties E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E if it will asynchrony get the properties. You should listen for a E\+L\+D\+B\+U\+S\+\_\+\+P\+R\+O\+X\+Y\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+P\+E\+R\+T\+Y\+\_\+\+L\+O\+A\+D\+E\+D to know when properties finish to load. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+hash\+\_\+free(), eina\+\_\+hash\+\_\+population(), eina\+\_\+hash\+\_\+string\+\_\+superfast\+\_\+new(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+add(), E\+L\+D\+B\+U\+S\+\_\+\+P\+R\+O\+X\+Y\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+P\+E\+R\+T\+Y\+\_\+\+C\+H\+A\+N\+G\+E\+D, E\+L\+D\+B\+U\+S\+\_\+\+P\+R\+O\+X\+Y\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+P\+E\+R\+T\+Y\+\_\+\+R\+E\+M\+O\+V\+E\+D, eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add(), eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all(), and eldbus\+\_\+signal\+\_\+handler\+\_\+unref().

\hypertarget{group__Eldbus__FDO__Properties_gaa1d2c82ea9765c6e1ca9d51f50afb61a}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+property\+\_\+get@{eldbus\+\_\+proxy\+\_\+property\+\_\+get}}
\index{eldbus\+\_\+proxy\+\_\+property\+\_\+get@{eldbus\+\_\+proxy\+\_\+property\+\_\+get}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+property\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Pending}$\ast$ eldbus\+\_\+proxy\+\_\+property\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{const char $\ast$}]{name, }
\item[{{\bf Eldbus\+\_\+\+Message\+\_\+\+Cb}}]{cb, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_gaa1d2c82ea9765c6e1ca9d51f50afb61a}


Get a property. 


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to do the query. \\
\hline
{\em name} & The property name to get. \\
\hline
{\em cb} & The callback to be called when receiving an answer. \\
\hline
{\em data} & Data to be passed to the callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eldbus\+\_\+\+Pending object corresponding to the message sent. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types_8c-example}{complex-\/types.\+c}.\end{Desc}


References eldbus\+\_\+proxy\+\_\+call().

\hypertarget{group__Eldbus__FDO__Properties_ga87a88f3b4119fb332210f15c3d9c2315}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+property\+\_\+set@{eldbus\+\_\+proxy\+\_\+property\+\_\+set}}
\index{eldbus\+\_\+proxy\+\_\+property\+\_\+set@{eldbus\+\_\+proxy\+\_\+property\+\_\+set}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+property\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Pending}$\ast$ eldbus\+\_\+proxy\+\_\+property\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{const char $\ast$}]{name, }
\item[{const char $\ast$}]{sig, }
\item[{const void $\ast$}]{value, }
\item[{{\bf Eldbus\+\_\+\+Message\+\_\+\+Cb}}]{cb, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_ga87a88f3b4119fb332210f15c3d9c2315}


Set a property. 


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to do the query. \\
\hline
{\em name} & The property name to get. \\
\hline
{\em sig} & \\
\hline
{\em value} & The value to set. \\
\hline
{\em cb} & The callback to be called when receiving an answer. \\
\hline
{\em data} & Data to be passed to the callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eldbus\+\_\+\+Pending object corresponding to the message sent. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types_8c-example}{complex-\/types.\+c}.\end{Desc}


References eldbus\+\_\+message\+\_\+iter\+\_\+basic\+\_\+append(), eldbus\+\_\+message\+\_\+iter\+\_\+container\+\_\+close(), eldbus\+\_\+message\+\_\+iter\+\_\+container\+\_\+new(), eldbus\+\_\+message\+\_\+iter\+\_\+get(), eldbus\+\_\+message\+\_\+unref(), eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new(), and eldbus\+\_\+proxy\+\_\+send().

\hypertarget{group__Eldbus__FDO__Properties_ga5652d33e39e864e44e514d6708870ec6}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all@{eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all}}
\index{eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all@{eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Pending}$\ast$ eldbus\+\_\+proxy\+\_\+property\+\_\+get\+\_\+all (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{{\bf Eldbus\+\_\+\+Message\+\_\+\+Cb}}]{cb, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_ga5652d33e39e864e44e514d6708870ec6}


Get all properties. 


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to do the query. \\
\hline
{\em cb} & The callback to be called when receiving an answer. \\
\hline
{\em data} & Data to be passed to the callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eldbus\+\_\+\+Pending object corresponding to the message sent. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{banshee_8c-example}{banshee.\+c}.\end{Desc}


References eldbus\+\_\+proxy\+\_\+call().



Referenced by eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor().

\hypertarget{group__Eldbus__FDO__Properties_ga8d5c36782d4e8b9e334c4557e2cbb40f}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add@{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add}}
\index{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add@{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Signal\+\_\+\+Handler}$\ast$ eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{{\bf Eldbus\+\_\+\+Signal\+\_\+\+Cb}}]{cb, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_ga8d5c36782d4e8b9e334c4557e2cbb40f}


Register a callback on \char`\"{}\+Properties\+Changed\char`\"{} signal. 


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to register the callback. \\
\hline
{\em cb} & The callback to be called when receiving the signal. \\
\hline
{\em data} & Data to be passed to the callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eldbus\+\_\+\+Signal\+\_\+\+Handler object representing a listener for \char`\"{}\+Properties\+Changed\char`\"{} signal. 
\end{DoxyReturn}


References eldbus\+\_\+proxy\+\_\+signal\+\_\+handler\+\_\+add(), and eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set().



Referenced by eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+add(), and eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor().

\hypertarget{group__Eldbus__FDO__Properties_ga07e236d5f577453308c1f80e48f1d2a3}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get@{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get}}
\index{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get@{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value}$\ast$ eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_ga07e236d5f577453308c1f80e48f1d2a3}


Return the cached value of property. 

This only work if you have enable eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor or if you have call eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+add of type E\+L\+D\+B\+U\+S\+\_\+\+P\+R\+O\+X\+Y\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+P\+E\+R\+T\+Y\+\_\+\+C\+H\+A\+N\+G\+E\+D and the property you want had changed.


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to do the query. \\
\hline
{\em name} & The property name to get. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Cached value of property. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}


References eina\+\_\+hash\+\_\+find().

\hypertarget{group__Eldbus__FDO__Properties_gaac2c9a7c4ef0084c17f04ea854ee4d54}{\index{org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}!eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all@{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all}}
\index{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all@{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all}!org.\+freedesktop.\+D\+Bus.\+Properties@{org.\+freedesktop.\+D\+Bus.\+Properties}}
\subsubsection[{eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Eina\+\_\+\+Hash}$\ast$ eldbus\+\_\+proxy\+\_\+property\+\_\+local\+\_\+get\+\_\+all (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Proxy} $\ast$}]{proxy}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__FDO__Properties_gaac2c9a7c4ef0084c17f04ea854ee4d54}


Get all cached properties. 

This only work if you have enable eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor or if you have call eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+add of type E\+L\+D\+B\+U\+S\+\_\+\+P\+R\+O\+X\+Y\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+P\+E\+R\+T\+Y\+\_\+\+C\+H\+A\+N\+G\+E\+D.


\begin{DoxyParams}{Parameters}
{\em proxy} & The proxy object on which to do the query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A Eina\+\_\+\+Hash with all cached properties 
\end{DoxyReturn}
