2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 * @author Jan Olszak (j.olszak@samsung.com)
19 * @brief Dummy version of PkgmgrSignal.
22 #ifndef WRT_PKGMGR_SIGNAL_DUMMY_H_
23 #define WRT_PKGMGR_SIGNAL_DUMMY_H_
25 #include <pkg-manager/pkgmgr_signal_interface.h>
27 #include<dpl/unused.h>
29 namespace PackageManager {
30 class PkgmgrSignalDummy : public IPkgmgrSignal
36 virtual ~PkgmgrSignalDummy()
39 bool setPkgname(const std::string& /*name*/)
44 std::string getPkgname() const
49 std::string getCallerId() const
54 bool startJob(Jobs::InstallationType type DPL_UNUSED)
59 bool endJob(Jobs::Exceptions::Type ecode DPL_UNUSED)
64 bool sendProgress(int percent DPL_UNUSED)
69 bool sendIconPath(const std::string & iconpath DPL_UNUSED)
74 } // PkgmgrSignalDummy
76 #endif // WRT_PKGMGR_SIGNAL_DUMMY_H_