diff options
Diffstat (limited to 'nexus/LoopController.cpp')
| -rw-r--r-- | nexus/LoopController.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/nexus/LoopController.cpp b/nexus/LoopController.cpp index 400d2797..a86202a3 100644 --- a/nexus/LoopController.cpp +++ b/nexus/LoopController.cpp @@ -13,20 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #include <errno.h> #include "LoopController.h" +#include "PropertyManager.h" -LoopController::LoopController() : - Controller("LOOP", "loop") { +LoopController::LoopController(PropertyManager *propmngr) : + Controller("LOOP", propmngr) { } -int LoopController::enable() { - errno = ENOSYS; - return -1; +int LoopController::set(const char *name, const char *value) { + return Controller::set(name, value); } -int LoopController::disable() { - errno = ENOSYS; - return -1; +const char *LoopController::get(const char *name, char *buffer, size_t maxsize) { + return Controller::get(name, buffer, maxsize); } + |
