0005-add-missing-idivine-header.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Add idivine.h, which is missing from DirectFB tarballs
  2. The idivine.h file was taken from the DirectFB Git repository.
  3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  4. Index: b/lib/divine/idivine.h
  5. ===================================================================
  6. --- /dev/null
  7. +++ b/lib/divine/idivine.h
  8. @@ -0,0 +1,54 @@
  9. +/*
  10. + (c) Copyright 2012-2013 DirectFB integrated media GmbH
  11. + (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
  12. + (c) Copyright 2000-2004 Convergence (integrated media) GmbH
  13. +
  14. + All rights reserved.
  15. +
  16. + Written by Denis Oliver Kropp <dok@directfb.org>,
  17. + Andreas Shimokawa <andi@directfb.org>,
  18. + Marek Pikarski <mass@directfb.org>,
  19. + Sven Neumann <neo@directfb.org>,
  20. + Ville Syrjälä <syrjala@sci.fi> and
  21. + Claudio Ciccani <klan@users.sf.net>.
  22. +
  23. + This library is free software; you can redistribute it and/or
  24. + modify it under the terms of the GNU Lesser General Public
  25. + License as published by the Free Software Foundation; either
  26. + version 2 of the License, or (at your option) any later version.
  27. +
  28. + This library is distributed in the hope that it will be useful,
  29. + but WITHOUT ANY WARRANTY; without even the implied warranty of
  30. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  31. + Lesser General Public License for more details.
  32. +
  33. + You should have received a copy of the GNU Lesser General Public
  34. + License along with this library; if not, write to the
  35. + Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  36. + Boston, MA 02111-1307, USA.
  37. +*/
  38. +
  39. +
  40. +
  41. +#ifndef __IDIVINE_H__
  42. +#define __IDIVINE_H__
  43. +
  44. +#include <divine.h>
  45. +
  46. +/*
  47. + * private data struct of IDiVine
  48. + */
  49. +typedef struct {
  50. + int ref; /* reference counter */
  51. +
  52. + DiVine *divine;
  53. +} IDiVine_data;
  54. +
  55. +/*
  56. + * IDiVine constructor/destructor
  57. + */
  58. +DFBResult IDiVine_Construct( IDiVine *thiz );
  59. +
  60. +void IDiVine_Destruct ( IDiVine *thiz );
  61. +
  62. +#endif