summaryrefslogtreecommitdiff
path: root/src/drivers/Android/Fl_Android_System_Driver.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-01-23 01:33:47 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-01-23 18:12:47 +0100
commit04ccc8cc46c45b81e6138bec0b48a188c4ffe406 (patch)
tree3ad8604f5d433dc6b6c294c28549a58dd57efcbd /src/drivers/Android/Fl_Android_System_Driver.H
parentb275ff07158e80d1744ddb2f6c51094a87cf079a (diff)
Remove experimental platforms Android, Pico, SDL (PR #376)
... as discussed in fltk.coredev: "FLTK 1.4.0 release schedule" https://groups.google.com/g/fltkcoredev/c/PDbHTRpXVh0/m/JqboexZ_AwAJ
Diffstat (limited to 'src/drivers/Android/Fl_Android_System_Driver.H')
-rw-r--r--src/drivers/Android/Fl_Android_System_Driver.H132
1 files changed, 0 insertions, 132 deletions
diff --git a/src/drivers/Android/Fl_Android_System_Driver.H b/src/drivers/Android/Fl_Android_System_Driver.H
deleted file mode 100644
index 865b62aa1..000000000
--- a/src/drivers/Android/Fl_Android_System_Driver.H
+++ /dev/null
@@ -1,132 +0,0 @@
-//
-// Definition of Android system driver for the Fast Light Tool Kit (FLTK).
-//
-// Copyright 2010-2020 by Bill Spitzak and others.
-//
-// This library is free software. Distribution and use rights are outlined in
-// the file "COPYING" which should have been included with this file. If this
-// file is missing or damaged, see the license at:
-//
-// https://www.fltk.org/COPYING.php
-//
-// Please see the following page on how to report bugs and issues:
-//
-// https://www.fltk.org/bugs.php
-//
-
-/**
- \file Fl_Android_System_Driver.H
- \brief Definition of Android system driver.
- */
-
-#ifndef FL_ANDROID_SYSTEM_DRIVER_H
-#define FL_ANDROID_SYSTEM_DRIVER_H
-
-#include <string.h>
-#include <FL/fl_string_functions.h>
-#include "../../Fl_System_Driver.H"
-#include <stdarg.h>
-
-/*
- Move everything here that manages the system interface.
-
- There is exactly one system driver.
-
- - filename and pathname management
- - directory and file access
- - system time and system timer
- - multithreading
- */
-
-class Fl_Android_System_Driver : public Fl_System_Driver
-{
-#if 0
-public:
- static unsigned win_pixmap_bg_color; // the RGB() of the pixmap background color
- virtual void warning(const char *format, va_list args);
- virtual void error(const char *format, va_list args);
- virtual void fatal(const char *format, va_list args);
- virtual char *utf2mbcs(const char *s);
- virtual char *getenv(const char *var);
- virtual int putenv(const char *var) { return ::putenv(fl_strdup(var)); }
- virtual int open(const char *fnam, int oflags, int pmode);
- virtual int open_ext(const char *fnam, int binary, int oflags, int pmode);
- virtual FILE *fopen(const char *fnam, const char *mode);
- virtual int system(const char *cmd);
- virtual int execvp(const char *file, char *const *argv);
- virtual int chmod(const char *fnam, int mode);
- virtual int access(const char *fnam, int mode);
- virtual int stat(const char *fnam, struct stat *b);
- virtual char *getcwd(char *b, int l);
- virtual int chdir(const char *path);
- virtual int unlink(const char *fnam);
- virtual int mkdir(const char *fnam, int mode);
- virtual int rmdir(const char *fnam);
- virtual int rename(const char *fnam, const char *newnam);
- virtual unsigned utf8towc(const char *src, unsigned srclen, wchar_t* dst, unsigned dstlen);
- virtual unsigned utf8fromwc(char *dst, unsigned dstlen, const wchar_t* src, unsigned srclen);
- virtual int utf8locale();
- virtual unsigned utf8to_mb(const char *src, unsigned srclen, char *dst, unsigned dstlen);
- virtual unsigned utf8from_mb(char *dst, unsigned dstlen, const char *src, unsigned srclen);
- virtual int clocale_printf(FILE *output, const char *format, va_list args);
- virtual int clocale_snprintf(char *output, size_t output_size, const char *format, va_list args);
- virtual int clocale_sscanf(const char *input, const char *format, va_list args);
- // these 2 are in Fl_get_key_win32.cxx
- virtual int event_key(int k);
- virtual int get_key(int k);
- virtual int filename_list(const char *d, dirent ***list,
- int (*sort)(struct dirent **, struct dirent **),
- char *errmsg, int errmsg_sz);
- virtual int filename_expand(char *to,int tolen, const char *from);
- virtual int filename_relative(char *to, int tolen, const char *from, const char *base);
- virtual int filename_absolute(char *to, int tolen, const char *from);
- virtual int filename_isdir(const char *n);
- virtual int filename_isdir_quick(const char *n);
- virtual const char *filename_ext(const char *buf);
- virtual int open_uri(const char *uri, char *msg, int msglen);
- virtual int use_recent_tooltip_fix() {return 1;}
- virtual int file_browser_load_filesystem(Fl_File_Browser *browser, char *filename, int lname, Fl_File_Icon *icon);
- virtual int file_browser_load_directory(const char *directory, char *filename, size_t name_size,
- dirent ***pfiles, Fl_File_Sort_F *sort,
- char *errmsg=NULL, int errmsg_sz=0);
- virtual void newUUID(char *uuidBuffer);
- virtual char *preference_rootnode(Fl_Preferences *prefs, Fl_Preferences::Root root, const char *vendor,
- const char *application);
- virtual void *dlopen(const char *filename);
- virtual void png_extra_rgba_processing(unsigned char *array, int w, int h);
- virtual const char *next_dir_sep(const char *start);
- // these 3 are implemented in Fl_lock.cxx
- virtual void awake(void*);
- virtual int lock();
- virtual void unlock();
- // this one is implemented in Fl_win32.cxx
- virtual void* thread_message();
- virtual int file_type(const char *filename);
- virtual int pixmap_extra_transparent_processing() {return 1;}
- // this one is implemented in fl_draw_pixmap.cxx
- virtual void make_unused_color(unsigned char &r, unsigned char &g, unsigned char &b);
- virtual const char *home_directory_name();
- virtual const char *filesystems_label() { return "My Computer"; }
- virtual int backslash_as_slash() {return 1;}
- virtual int colon_is_drive() {return 1;}
- virtual int case_insensitive_filenames() {return 1;}
- // this one is implemented in Fl_win32.cxx
- virtual const char *filename_name(const char *buf);
- // this one is implemented in Fl_win32.cxx
- virtual void copy(const char *stuff, int len, int clipboard, const char *type);
- // this one is implemented in Fl_win32.cxx
- virtual void paste(Fl_Widget &receiver, int clipboard, const char *type);
- // this one is implemented in Fl_win32.cxx
- virtual int clipboard_contains(const char *type);
- // this one is implemented in Fl_win32.cxx
- virtual void clipboard_notify_change();
- virtual void add_fd(int fd, int when, Fl_FD_Handler cb, void* = 0);
- virtual void add_fd(int fd, Fl_FD_Handler cb, void* = 0);
- virtual void remove_fd(int, int when);
- virtual void remove_fd(int);
- virtual void gettime(time_t *sec, int *usec);
-#endif
- virtual char *strdup(const char *s) {return ::strdup(s);}
-};
-
-#endif // FL_ANDROID_SYSTEM_DRIVER_H