taksan / skype-java-api

Skype API for Java, based on Skype4Java library
128 stars 57 forks source link

Use library with Processing 2.2.1 #53

Closed chr33z closed 9 years ago

chr33z commented 9 years ago

Is it possible to use this library with processing 2.2.1? I'm trying to import the library in a sketch but end up getting a

Syntax error on token "enum", Identifier expected

with no further information where in the library the error might occur.

The error is definitely thrown in the library because my sketch looks just like this:

import com.skype.Skype;

void setup(){}

Thank you for any help on this issue!

ghost commented 9 years ago

What are you trying to ask?

  1. Are you referring to the IDE, Processing?
  2. What is a sketch? Do you mean class?

Most importantly, where is your type signature and defined namespace? Here:

import com.skype.Skype;

class DocumentNameHere {

    void setup() {
    }

}
taksan commented 9 years ago

This is not an actual issue, so I'm closing.