Procházet zdrojové kódy

buttonprefix.c en .h

MalekSediqi před 9 roky
rodič
revize
f072399b5b
3 změnil soubory, kde provedl 32 přidání a 3 odebrání
  1. 1 3
      .idea/InternetRadio.iml
  2. 14 0
      buttonPrefix.c
  3. 17 0
      buttonPrefix.h

+ 1 - 3
.idea/InternetRadio.iml

@@ -1,9 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <module type="CPP_MODULE" version="4">
   <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" />
-    </content>
+    <content url="file://$MODULE_DIR$" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module-library">
       <library name="Header Search Paths">

+ 14 - 0
buttonPrefix.c

@@ -0,0 +1,14 @@
+//
+// Created by malek on 23-3-2016.
+//
+
+#include "keyboard.h"
+
+void buttonCheck()
+{
+    int buttons[5]  = {};
+
+    for (int i = 0; i < 5; ++i) {
+
+    }
+}

+ 17 - 0
buttonPrefix.h

@@ -0,0 +1,17 @@
+//
+// Created by malek on 23-3-2016.
+//
+
+#ifndef INTERNETRADIO_BUTTONPREFIX_H
+#define INTERNETRADIO_BUTTONPREFIX_H
+
+#endif //INTERNETRADIO_BUTTONPREFIX_H
+struct _LeftButtons
+{
+    u_short id;
+    u_short bid;
+    char name[16];
+    char ip[24];
+    u_short port;
+    char url[24];
+};