Skip to content

Commit

Permalink
Implement com.bmc.media classes
Browse files Browse the repository at this point in the history
"Implement" is a strong word... they're just sprintpcs.media files,
but renamed.
  • Loading branch information
AShiningRay committed Nov 14, 2024
1 parent 1b2bf79 commit b0f431b
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/com/bmc/media/Clip.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeJ2ME. If not, see http://www.gnu.org/licenses/
*/
package com.bmc.media;

import java.io.IOException;

public class Clip extends com.sprintpcs.media.Clip
{

public Clip(String locator, String contentType, int priority, int vibration) throws IOException
{
super(locator, contentType, priority, vibration);
}

public Clip(byte[] stream, String contentType, int priority, int vibration) throws IOException
{
super(stream, contentType, priority, vibration);
}
}
26 changes: 26 additions & 0 deletions src/com/bmc/media/DualTone.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeJ2ME. If not, see http://www.gnu.org/licenses/
*/
package com.bmc.media;

public class DualTone extends com.sprintpcs.media.DualTone
{
public DualTone(int[] x_frequencies, int[] y_frequencies, int[] durations, int priority, int vibration)
{
super(x_frequencies, y_frequencies, durations, priority, vibration);
}

}
19 changes: 19 additions & 0 deletions src/com/bmc/media/Player.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeJ2ME. If not, see http://www.gnu.org/licenses/
*/
package com.bmc.media;

public class Player extends com.sprintpcs.media.Player { }
19 changes: 19 additions & 0 deletions src/com/bmc/media/PlayerListener.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeJ2ME. If not, see http://www.gnu.org/licenses/
*/
package com.bmc.media;

public interface PlayerListener extends com.sprintpcs.media.PlayerListener { }
19 changes: 19 additions & 0 deletions src/com/bmc/media/Vibrator.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeJ2ME. If not, see http://www.gnu.org/licenses/
*/
package com.bmc.media;

public class Vibrator extends com.sprintpcs.media.Vibrator { }

0 comments on commit b0f431b

Please sign in to comment.