blob: b1e7219795cfd6c7788c9d851a038502bc2bca1b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/**
2 * Copyright (C) ARM Limited 2010-2014. All rights reserved.
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
9#ifndef __LOCAL_CAPTURE_H__
10#define __LOCAL_CAPTURE_H__
11
12struct ImageLinkList;
13
14class LocalCapture {
15public:
16 LocalCapture();
17 ~LocalCapture();
18 void write(char* string);
19 void copyImages(ImageLinkList* ptr);
20 void createAPCDirectory(char* target_path);
21private:
22 char* createUniqueDirectory(const char* path, const char* ending);
23 int removeDirAndAllContents(char* path);
24};
25
26#endif //__LOCAL_CAPTURE_H__