SOURCES += osx/uistrings.cpp \
           osx/osxbtnotifier.cpp \
           osx/btdelegates.cpp

PRIVATE_HEADERS += osx/uistrings_p.h \
                   osx/osxbtgcdtimer_p.h \
                   osx/btraii_p.h \
                   osx/btdelegates_p.h


OBJECTIVE_SOURCES += osx/osxbtgcdtimer.mm \
                     osx/btraii.mm
#QMAKE_CXXFLAGS_WARN_ON += -Wno-nullability-completeness

CONFIG(osx) {
    PRIVATE_HEADERS += osx/osxbtutility_p.h \
                       osx/osxbtdevicepair_p.h \
                       osx/osxbtdeviceinquiry_p.h \
                       osx/osxbtconnectionmonitor_p.h \
                       osx/osxbtsdpinquiry_p.h \
                       osx/osxbtrfcommchannel_p.h \
                       osx/osxbtl2capchannel_p.h \
                       osx/osxbtservicerecord_p.h \
                       osx/osxbtsocketlistener_p.h \
                       osx/osxbtobexsession_p.h \
                       osx/osxbtledeviceinquiry_p.h \
                       osx/osxbluetooth_p.h \
                       osx/osxbtcentralmanager_p.h \
                       osx/osxbtnotifier_p.h \
                       osx/osxbtperipheralmanager_p.h

    OBJECTIVE_SOURCES += osx/osxbtutility.mm \
                         osx/osxbtdevicepair.mm \
                         osx/osxbtdeviceinquiry.mm \
                         osx/osxbtconnectionmonitor.mm \
                         osx/osxbtsdpinquiry.mm \
                         osx/osxbtrfcommchannel.mm \
                         osx/osxbtl2capchannel.mm \
                         osx/osxbtservicerecord.mm \
                         osx/osxbtsocketlistener.mm \
                         osx/osxbtobexsession.mm \
                         osx/osxbtledeviceinquiry.mm \
                         osx/osxbtcentralmanager.mm \
                         osx/osxbtperipheralmanager.mm
} else {
    PRIVATE_HEADERS += osx/osxbtutility_p.h \
                       osx/osxbtledeviceinquiry_p.h \
                       osx/osxbluetooth_p.h \
                       osx/osxbtcentralmanager_p.h \
                       osx/osxbtnotifier_p.h
    ios {
        PRIVATE_HEADERS += osx/osxbtperipheralmanager_p.h
    }

    OBJECTIVE_SOURCES += osx/osxbtutility.mm \
                         osx/osxbtledeviceinquiry.mm \
                         osx/osxbtcentralmanager.mm
    ios {
        OBJECTIVE_SOURCES += osx/osxbtperipheralmanager.mm
    }
}
