Jon Medhurst | aaf37a3 | 2013-06-11 12:10:56 +0100 | [diff] [blame] | 1 | /** |
Jon Medhurst | 15ce78d | 2014-04-10 09:02:02 +0100 | [diff] [blame] | 2 | * Copyright (C) ARM Limited 2010-2014. All rights reserved. |
Jon Medhurst | aaf37a3 | 2013-06-11 12:10:56 +0100 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
Jon Medhurst | 96b5615 | 2014-10-30 18:01:15 +0000 | [diff] [blame^] | 9 | #ifndef __LOCAL_CAPTURE_H__ |
| 10 | #define __LOCAL_CAPTURE_H__ |
Jon Medhurst | aaf37a3 | 2013-06-11 12:10:56 +0100 | [diff] [blame] | 11 | |
| 12 | struct ImageLinkList; |
| 13 | |
| 14 | class LocalCapture { |
| 15 | public: |
| 16 | LocalCapture(); |
| 17 | ~LocalCapture(); |
| 18 | void write(char* string); |
| 19 | void copyImages(ImageLinkList* ptr); |
| 20 | void createAPCDirectory(char* target_path); |
| 21 | private: |
| 22 | char* createUniqueDirectory(const char* path, const char* ending); |
| 23 | int removeDirAndAllContents(char* path); |
| 24 | }; |
| 25 | |
Jon Medhurst | e31266f | 2014-08-04 15:47:44 +0100 | [diff] [blame] | 26 | #endif //__LOCAL_CAPTURE_H__ |