|
Packit |
1baceb |
/* screenshot-filename-builder.c - Builds a filename suitable for a screenshot
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* Copyright (C) 2008, 2011 Cosimo Cecchi <cosimoc@gnome.org>
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* This program is free software; you can redistribute it and/or
|
|
Packit |
1baceb |
* modify it under the terms of the GNU General Public License as
|
|
Packit |
1baceb |
* published by the Free Software Foundation; either version 2 of the
|
|
Packit |
1baceb |
* License, or (at your option) any later version.
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
1baceb |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
1baceb |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
1baceb |
* GNU General Public License for more details.
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* You should have received a copy of the GNU General Public License
|
|
Packit |
1baceb |
* along with this program; if not, write to the Free Software
|
|
Packit |
1baceb |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
Packit |
1baceb |
* USA
|
|
Packit |
1baceb |
*/
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#ifndef __SCREENSHOT_FILENAME_BUILDER_H__
|
|
Packit |
1baceb |
#define __SCREENSHOT_FILENAME_BUILDER_H__
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#include <gio/gio.h>
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
void screenshot_build_filename_async (const char *save_dir,
|
|
Packit |
1baceb |
const char *screenshot_origin,
|
|
Packit |
1baceb |
GAsyncReadyCallback callback,
|
|
Packit |
1baceb |
gpointer user_data);
|
|
Packit |
1baceb |
gchar *screenshot_build_filename_finish (GAsyncResult *result,
|
|
Packit |
1baceb |
GError **error);
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#endif /* __SCREENSHOT_FILENAME_BUILDER_H__ */
|