Class: SkypeAPI::OS::Mac::Server

Inherits:
OSX::NSObject
  • Object
show all
Defined in:
lib/skypeapi/os/mac.rb

Instance Method Summary collapse

Instance Method Details

#clientApplicationNameObject



8
9
10
# File 'lib/skypeapi/os/mac.rb', line 8

def clientApplicationName
  @client_application_name
end

#skypeAttachResponse(status) ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/skypeapi/os/mac.rb', line 13

def skypeAttachResponse status
  p [:skypeAttachResponse,status]
  case status
  when 0 #?
  when 1 #sccess
    @upper.attached = true
  when 2 ####
  end
end

#skypeBecameAvilable(notification) ⇒ Object

addRubyMethod_withType ‘skypeBecameAviable:’, ‘v@:@’



24
25
26
# File 'lib/skypeapi/os/mac.rb', line 24

def skypeBecameAvilable notification
  p [:skypeBecameAvilable,notification]
end

#skypeBecameUnavilable(notification) ⇒ Object

addRubyMethod_withType ‘skypeBecameUnavialbe:’, ‘v@:@’



29
30
31
# File 'lib/skypeapi/os/mac.rb', line 29

def skypeBecameUnavilable notification
  p [:skypeBecameUnavilable,notification]
end

#skypeNotificationReceived(notifation_string) ⇒ Object

addRubyMethod_withType ‘skypeAttachResponse:’, ‘v@:@’



34
35
36
# File 'lib/skypeapi/os/mac.rb', line 34

def skypeNotificationReceived notifation_string
  p [:skypeNotificationReceived,notifation_string]
end