Skip to content
Browse files

Fix location of bcm_host.h

  • Loading branch information...
1 parent 61232b4 commit 83e1597d57766a4dddcf11960289a6bd49d3d1ce Dom Cobley committed Nov 13, 2012
Showing with 31 additions and 0 deletions.
  1. +31 −0 host_applications/linux/libs/bcm_host/{ → include}/bcm_host.h
View
31 ...plications/linux/libs/bcm_host/bcm_host.h → ...ns/linux/libs/bcm_host/include/bcm_host.h
@@ -24,3 +24,34 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+// Header file with useful bits from other headers
+
+#ifndef BCM_HOST_H
+#define BCM_HOST_H
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void bcm_host_init(void);
+void bcm_host_deinit(void);
+
+int32_t graphics_get_display_size( const uint16_t display_number,
+ uint32_t *width,
+ uint32_t *height);
+
+#include "interface/vmcs_host/vc_dispmanx.h"
+#include "interface/vmcs_host/vc_tvservice.h"
+#include "interface/vmcs_host/vc_cec.h"
+#include "interface/vmcs_host/vc_cecservice.h"
+#include "interface/vmcs_host/vcgencmd.h"
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+

0 comments on commit 83e1597

Please sign in to comment.
Something went wrong with that request. Please try again.