paul@144 | 1 | /* |
paul@144 | 2 | * A resource supporting the creation of user-specific opener resources. |
paul@144 | 3 | * |
paul@144 | 4 | * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk> |
paul@144 | 5 | * |
paul@144 | 6 | * This program is free software; you can redistribute it and/or |
paul@144 | 7 | * modify it under the terms of the GNU General Public License as |
paul@144 | 8 | * published by the Free Software Foundation; either version 2 of |
paul@144 | 9 | * the License, or (at your option) any later version. |
paul@144 | 10 | * |
paul@144 | 11 | * This program is distributed in the hope that it will be useful, |
paul@144 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@144 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@144 | 14 | * GNU General Public License for more details. |
paul@144 | 15 | * |
paul@144 | 16 | * You should have received a copy of the GNU General Public License |
paul@144 | 17 | * along with this program; if not, write to the Free Software |
paul@144 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, |
paul@144 | 19 | * Boston, MA 02110-1301, USA |
paul@144 | 20 | */ |
paul@144 | 21 | |
paul@150 | 22 | #include "filesystem_object_server.h" |
paul@144 | 23 | #include "filesystem_resource.h" |
paul@144 | 24 | |
paul@144 | 25 | /* Support for providing access to user-specific filesystems. */ |
paul@144 | 26 | |
paul@195 | 27 | FilesystemResource::FilesystemResource(Pages *pages, FileNotifierRegistry *notifiers) |
paul@195 | 28 | : FilePaging(pages, notifiers) |
paul@144 | 29 | { |
paul@144 | 30 | } |
paul@144 | 31 | |
paul@144 | 32 | int FilesystemResource::expected_items() |
paul@144 | 33 | { |
paul@150 | 34 | return FilesystemObject_expected_items; |
paul@144 | 35 | } |
paul@144 | 36 | |
paul@144 | 37 | ipc_server_handler_type FilesystemResource::handler() |
paul@144 | 38 | { |
paul@150 | 39 | return (ipc_server_handler_type) handle_FilesystemObject; |
paul@144 | 40 | } |
paul@144 | 41 | |
paul@144 | 42 | // vim: tabstop=4 expandtab shiftwidth=4 |