Integrating android support.

This commit is contained in:
Pere Pujal i Carabantes 2016-03-13 00:39:15 +01:00
parent 51f2e90c7d
commit d38b4abd68
8 changed files with 822 additions and 93 deletions

31
src/android_print.h Normal file
View file

@ -0,0 +1,31 @@
/* android_print.h */
/* printing support for Tux Paint */
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
*/
#ifndef __ANDROID_PRINT_H__
#define __ANDROID_PRINT_H__
#include "SDL.h"
extern const char *SurfacePrint(SDL_Surface *surface);
extern int IsPrinterAvailable(void);
#endif /* __ANDROID_PRINT__ */