nfc interfaces in the new style.
Change-Id: I989828d51a2ac1c79906d865b5bdab227457d2e6
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/nfc/1.0/INfcClientCallback.hal b/nfc/1.0/INfcClientCallback.hal
new file mode 100644
index 0000000..979728b
--- /dev/null
+++ b/nfc/1.0/INfcClientCallback.hal
@@ -0,0 +1,15 @@
+package android.hardware.nfc@1.0;
+
+interface INfcClientCallback {
+ /*
+ * The callback passed in from the NFC stack that the HAL
+ * can use to pass events back to the stack.
+ */
+ sendEvent(nfc_event_t event, nfc_status_t event_status);
+
+ /*
+ * The callback passed in from the NFC stack that the HAL
+ * can use to pass incomming data to the stack.
+ */
+ sendData(nfc_data_t data);
+};