contentstorage/caclient/s60/inc/caclientproxy.h
changeset 96 5d243a69bdda
parent 92 782e3408c2ab
equal deleted inserted replaced
95:c739008478cc 96:5d243a69bdda
   128      */
   128      */
   129     ErrorCode getEntryIds(const CaQuery &query,
   129     ErrorCode getEntryIds(const CaQuery &query,
   130                           QList<int> &sourceIdList);
   130                           QList<int> &sourceIdList);
   131 
   131 
   132     /**
   132     /**
   133      * Method for executing command
       
   134      *
       
   135      * @param entry entry on wchich command will be executed
       
   136      * @param command command to execute
       
   137      * @return error code
       
   138      */
       
   139     ErrorCode executeCommand(const CaEntry &entry,
       
   140                              const QString &command);
       
   141 
       
   142     /**
       
   143      * Method for touching entry.
   133      * Method for touching entry.
   144      *
   134      *
   145      * @param aEntry entry to touch
   135      * @param aEntry entry to touch
   146      * @return error code
   136      * @return error code
   147      */
   137      */
   233 private:
   223 private:
   234     // Session to server.
   224     // Session to server.
   235     // Own.
   225     // Own.
   236     RCaClientSession mSession;
   226     RCaClientSession mSession;
   237 
   227 
   238     // Command handler.
       
   239     QSharedPointer<CaHandlerProxy> mCommandHandler;
       
   240 
       
   241     // Mutex to serialize access to mSessions.
   228     // Mutex to serialize access to mSessions.
   242     QMutex mMutex;
   229     QMutex mMutex;
   243 };
   230 };
   244 
   231 
   245 #endif // CACLIENTPROXY_H
   232 #endif // CACLIENTPROXY_H