*/}}

ourstrings.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Our Paint: A light weight GPU powered painting program.
  3. * Copyright (C) 2022-2023 Wu Yiming
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "ourpaint.h"
  19. const char OUR_MIME[]=R"(
  20. <?xml version="1.0" encoding="utf-8"?>
  21. <mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="image/ourpaint">
  22. <comment>OurPaint project file</comment>
  23. <icon name="image"/>
  24. <glob pattern="*.ourpaint"/>
  25. </mime-type>
  26. )";
  27. const char OUR_THUMBNAILER[]=R"(
  28. [Thumbnailer Entry]
  29. Version=0.3
  30. Encoding=UTF-8
  31. Type=X-Thumbnailer
  32. Name=OurPaint thumbnailer
  33. MimeType=image/ourpaint;
  34. Exec=%OURPAINT_EXEC% --thumbnail %i %o
  35. )";
  36. const char OUR_DESKTOP[]=R"(
  37. [Desktop Entry]
  38. Encoding=UTF-8
  39. Version=0.3
  40. Type=Application
  41. Terminal=false
  42. Path=%OURPAINT_DIR%
  43. Exec=%OURPAINT_EXEC% %f
  44. Name=Our Paint
  45. Icon=%OURPAINT_ICON%
  46. Categories=Graphics;
  47. MimeType=image/ourpaint;
  48. PrefersNonDefaultGPU=true
  49. )";